Class ServiceTaskDelegateExpressionActivityBehavior
java.lang.Object
org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior
ActivityBehavior used when 'delegateExpression' is used
for a serviceTask.- Author:
- Joram Barrez, Josh Long, Slawomir Wojtasiak (Patch for ACT-1159), Falko Menge
-
Field Summary
FieldsFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceIdFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
ConstructorsConstructorDescriptionServiceTaskDelegateExpressionActivityBehavior(Expression expression, List<FieldDeclaration> fieldDeclarations) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoSignal(ActivityExecution execution, String signalName, Object signalData) protected ActivityBehaviorgetActivityBehaviorInstance(ActivityExecution execution, Object delegateInstance) voidperformExecution(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.voidsignal(ActivityExecution execution, String signalName, Object signalData) Methods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
execute, postExecution, preExecutionMethods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDoneMethods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
LOG
-
expression
-
-
Constructor Details
-
ServiceTaskDelegateExpressionActivityBehavior
public ServiceTaskDelegateExpressionActivityBehavior(Expression expression, List<FieldDeclaration> fieldDeclarations)
-
-
Method Details
-
signal
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Specified by:
signalin interfaceSignallableActivityBehavior- Overrides:
signalin classAbstractBpmnActivityBehavior- Throws:
Exception
-
doSignal
public void doSignal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Throws:
Exception
-
performExecution
Description copied from class:TaskActivityBehaviorThe method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecutionin classTaskActivityBehavior- Parameters:
execution- the execution which is used during performing the execution- Throws:
Exception
-
getActivityBehaviorInstance
protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution, Object delegateInstance)
-