Class DelegateInvocation
java.lang.Object
org.activiti.engine.impl.delegate.invocation.DelegateInvocation
- Direct Known Subclasses:
ActivityBehaviorInvocation,ExecutionListenerInvocation,ExpressionInvocation,JavaDelegateInvocation,TaskListenerInvocation,ThrowMessageDelegateInvocation
Provides context about the invocation of usercode and handles the actual invocation
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
invocationResult
-
invocationParameters
-
-
Constructor Details
-
DelegateInvocation
public DelegateInvocation()
-
-
Method Details
-
proceed
public void proceed()make the invocation proceed, performing the actual invocation of the user code.- Throws:
Exception- the exception thrown by the user code
-
invoke
protected abstract void invoke() -
getInvocationResult
- Returns:
- the result of the invocation (can be null if the invocation does not return a result)
-
getInvocationParameters
- Returns:
- an array of invocation parameters (null if the invocation takes no parameters)
-
getTarget
returns the target of the current invocation, ie. JavaDelegate, ValueExpression ...
-