org.camunda.bpm.engine.impl.task.delegate
Class TaskListenerInvocation

java.lang.Object
  extended by org.camunda.bpm.engine.impl.delegate.DelegateInvocation
      extended by org.camunda.bpm.engine.impl.task.delegate.TaskListenerInvocation

public class TaskListenerInvocation
extends DelegateInvocation

Class handling invocations of TaskListeners

Author:
Daniel Meyer

Field Summary
protected  DelegateTask delegateTask
           
protected  TaskListener executionListenerInstance
           
 
Fields inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
contextExecution, invocationParameters, invocationResult
 
Constructor Summary
TaskListenerInvocation(TaskListener executionListenerInstance, DelegateTask delegateTask)
           
TaskListenerInvocation(TaskListener executionListenerInstance, DelegateTask delegateTask, BaseDelegateExecution contextExecution)
           
 
Method Summary
 Object getTarget()
          returns the target of the current invocation, ie.
protected  void invoke()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.delegate.DelegateInvocation
getContextExecution, getInvocationParameters, getInvocationResult, proceed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executionListenerInstance

protected final TaskListener executionListenerInstance

delegateTask

protected final DelegateTask delegateTask
Constructor Detail

TaskListenerInvocation

public TaskListenerInvocation(TaskListener executionListenerInstance,
                              DelegateTask delegateTask)

TaskListenerInvocation

public TaskListenerInvocation(TaskListener executionListenerInstance,
                              DelegateTask delegateTask,
                              BaseDelegateExecution contextExecution)
Method Detail

invoke

protected void invoke()
               throws Exception
Specified by:
invoke in class DelegateInvocation
Throws:
Exception

getTarget

public Object getTarget()
Description copied from class: DelegateInvocation
returns the target of the current invocation, ie. JavaDelegate, ValueExpression ...

Specified by:
getTarget in class DelegateInvocation


Copyright © 2015 camunda services GmbH. All rights reserved.