protected static void invoke(DecisionInvocation invocation) throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
protected static void invoke(DecisionInvocation invocation) throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
public Void call() throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new SubmitFormVariablesInvocation(formHandler, properties, variableScope)); return null; } });
public void execute(DelegateExecution execution) throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new JavaDelegateInvocation(javaDelegate, execution)); } }
public void signal(ActivityExecution execution, String signalEvent, Object signalData) throws Exception { Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new ActivityBehaviorSignalInvocation((SignallableActivityBehavior) delegateActivityBehavior, execution, signalEvent, signalData)); }
protected void invokeVarMappingDelegation(DelegateInvocation delegation) { try { Context.getProcessEngineConfiguration().getDelegateInterceptor().handleInvocation(delegation); } catch (Exception ex) { throw new ProcessEngineException(ex); } }
protected void invokeVarMappingDelegation(DelegateInvocation delegation) { try { Context.getProcessEngineConfiguration().getDelegateInterceptor().handleInvocation(delegation); } catch (Exception ex) { throw new ProcessEngineException(ex); } }
public Void call() throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new SubmitFormVariablesInvocation(formHandler, properties, variableScope)); return null; } });
public void notify(DelegateCaseExecution caseExecution) throws Exception { ScriptInvocation invocation = new ScriptInvocation(script, caseExecution); Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
public void execute(DelegateExecution execution) throws Exception { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new JavaDelegateInvocation(javaDelegate, execution)); } }
public void execute(ActivityExecution execution) throws Exception { Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new ActivityBehaviorInvocation(delegateActivityBehavior, execution)); }
public void signal(ActivityExecution execution, String signalEvent, Object signalData) throws Exception { Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new ActivityBehaviorSignalInvocation((SignallableActivityBehavior) delegateActivityBehavior, execution, signalEvent, signalData)); }
public void execute(ActivityExecution execution) throws Exception { Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new ActivityBehaviorInvocation(delegateActivityBehavior, execution)); }
public void notify(DelegateExecution execution) throws Exception { ScriptInvocation invocation = new ScriptInvocation(script, execution); Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
public void notify(DelegateCaseExecution caseExecution) throws Exception { ScriptInvocation invocation = new ScriptInvocation(script, caseExecution); Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
public void notify(DelegateExecution execution) throws Exception { ScriptInvocation invocation = new ScriptInvocation(script, execution); Context .getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); }
public void setValue(Object value, VariableScope variableScope, BaseDelegateExecution contextExecution) { ELContext elContext = expressionManager.getElContext(variableScope); try { ExpressionSetInvocation invocation = new ExpressionSetInvocation(valueExpression, elContext, value, contextExecution); Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); } catch (Exception e) { throw new ProcessEngineException("Error while evaluating expression: " + expressionText+". Cause: "+e.getMessage(), e); } }
public void notify(DelegateTask delegateTask) { TaskListener taskListenerInstance = getTaskListenerInstance(); try { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new TaskListenerInvocation(taskListenerInstance, delegateTask)); }catch (Exception e) { throw new ProcessEngineException("Exception while invoking TaskListener: "+e.getMessage(), e); } }
public void setValue(Object value, VariableScope variableScope, BaseDelegateExecution contextExecution) { ELContext elContext = expressionManager.getElContext(variableScope); try { ExpressionSetInvocation invocation = new ExpressionSetInvocation(valueExpression, elContext, value, contextExecution); Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(invocation); } catch (Exception e) { throw new ProcessEngineException("Error while evaluating expression: " + expressionText+". Cause: "+e.getMessage(), e); } }
public void notify(DelegateTask delegateTask) { TaskListener taskListenerInstance = getTaskListenerInstance(); try { Context.getProcessEngineConfiguration() .getDelegateInterceptor() .handleInvocation(new TaskListenerInvocation(taskListenerInstance, delegateTask)); }catch (Exception e) { throw new ProcessEngineException("Exception while invoking TaskListener: "+e.getMessage(), e); } }