takes a callable and executes all engine api invocations within that callable in the context of the given process application equivalent to try processapplicationcontext.setcurrentprocessapplication `` someprocessapplication '' ; callable.call ; finally processapplicationcontext.clear ; concode_field_sep PlaceHolder placeHolder concode_field_sep void setCurrentProcessApplication concode_elem_sep void setCurrentProcessApplication concode_elem_sep void setCurrentProcessApplication concode_elem_sep void clear
T function ( Callable < T > arg0 , ProcessApplicationReference arg1 ) { try { setCurrentProcessApplication ( arg1 ) ; return arg0 . call ( ) ; } finally { clear ( ) ; } }