org.activiti.engine.impl.delegate
类 DelegateInvocation
java.lang.Object
org.activiti.engine.impl.delegate.DelegateInvocation
- 直接已知子类:
- ActivityBehaviorInvocation, ExecutionListenerInvocation, ExpressionInvocation, JavaDelegateInvocation, TaskListenerInvocation
public abstract class DelegateInvocation
- extends Object
Provides context about the invocation of usercode and handles the actual
invocation
- 作者:
- Daniel Meyer
- 另请参见:
DelegateInterceptor
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invocationResult
protected Object invocationResult
invocationParameters
protected Object[] invocationParameters
DelegateInvocation
public DelegateInvocation()
proceed
public void proceed()
throws Exception
- make the invocation proceed, performing the actual invocation of the user
code.
- 抛出:
Exception
- the exception thrown by the user code
invoke
protected abstract void invoke()
throws Exception
- 抛出:
Exception
getInvocationResult
public Object getInvocationResult()
- 返回:
- the result of the invocation (can be null if the invocation does
not return a result)
getInvocationParameters
public Object[] getInvocationParameters()
- 返回:
- an array of invocation parameters (null if the invocation takes no
parameters)
getTarget
public abstract Object getTarget()
- returns the target of the current invocation, ie. JavaDelegate, ValueExpression ...
Copyright © 2013 Alfresco. All rights reserved.