Example #1
0
 public static void clearInvocationContext()
 {
     lock (typeof(ProcessApplicationWithInvocationContext))
     {
         ProcessApplicationWithInvocationContext.invocationContext = null;
     }
 }
Example #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public <T> T execute(java.util.concurrent.Callable<T> callable, org.camunda.bpm.application.InvocationContext invocationContext) throws org.camunda.bpm.application.ProcessApplicationExecutionException
        public override T execute <T>(Callable <T> callable, InvocationContext invocationContext)
        {
            lock (typeof(ProcessApplicationWithInvocationContext))
            {
                ProcessApplicationWithInvocationContext.invocationContext = invocationContext;
            }

            return(execute(callable));
        }