public class ServiceTaskJavaDelegateActivityBehavior extends TaskActivityBehavior implements ActivityBehavior, ExecutionListener
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected JavaDelegate |
javaDelegate |
activityInstanceId
LOG
bpmnActivityBehavior
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Modifier | Constructor and Description |
---|---|
protected |
ServiceTaskJavaDelegateActivityBehavior() |
|
ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
execute(DelegateExecution execution) |
void |
notify(DelegateExecution execution) |
void |
performExecution(ActivityExecution execution)
The method which should be overridden by the sub classes to perform an execution.
|
execute, postExecution, preExecution
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, leaveIgnoreConditions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected JavaDelegate javaDelegate
protected ServiceTaskJavaDelegateActivityBehavior()
public ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
public void performExecution(ActivityExecution execution) throws Exception
TaskActivityBehavior
performExecution
in class TaskActivityBehavior
execution
- the execution which is used during performing the executionException
public void notify(DelegateExecution execution) throws Exception
notify
in interface DelegateListener<DelegateExecution>
notify
in interface ExecutionListener
Exception
public void execute(DelegateExecution execution) throws Exception
Exception
Copyright © 2017. All rights reserved.