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

字段摘要
protected  Object[] invocationParameters
           
protected  Object invocationResult
           
 
构造方法摘要
DelegateInvocation()
           
 
方法摘要
 Object[] getInvocationParameters()
           
 Object getInvocationResult()
           
abstract  Object getTarget()
          returns the target of the current invocation, ie.
protected abstract  void invoke()
           
 void proceed()
          make the invocation proceed, performing the actual invocation of the user code.
 
从类 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.