org.camunda.bpm.engine.impl.bpmn.behavior
Class ServiceTaskJavaDelegateActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
              extended by org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior
All Implemented Interfaces:
DelegateListener<DelegateExecution>, ExecutionListener, CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior

public class ServiceTaskJavaDelegateActivityBehavior
extends TaskActivityBehavior
implements ActivityBehavior, ExecutionListener

Author:
Tom Baeyens

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected  JavaDelegate javaDelegate
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
 
Constructor Summary
protected ServiceTaskJavaDelegateActivityBehavior()
           
  ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 void execute(DelegateExecution execution)
           
 void notify(DelegateExecution execution)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaDelegate

protected JavaDelegate javaDelegate
Constructor Detail

ServiceTaskJavaDelegateActivityBehavior

protected ServiceTaskJavaDelegateActivityBehavior()

ServiceTaskJavaDelegateActivityBehavior

public ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
Method Detail

execute

public void execute(ActivityExecution execution)
             throws Exception
Description copied from class: FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.

Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>
Specified by:
execute in interface ActivityBehavior
Overrides:
execute in class FlowNodeActivityBehavior
Throws:
Exception

notify

public void notify(DelegateExecution execution)
            throws Exception
Specified by:
notify in interface DelegateListener<DelegateExecution>
Specified by:
notify in interface ExecutionListener
Throws:
Exception

execute

public void execute(DelegateExecution execution)
             throws Exception
Throws:
Exception


Copyright © 2015 camunda services GmbH. All rights reserved.