org.jfox.ejb
Interface Invocation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
InvocationImpl

public interface Invocation
extends java.io.Serializable

a Invocation 代表一个远程的调用,由 ContainerInvoker 组装,传递给 Container 执行


Method Summary
 java.lang.Object[] getArgs()
           
 javax.ejb.EnterpriseBean getBean()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.String getMethodHash()
           
 ObjectId getObjectId()
           
 void setBean(javax.ejb.EnterpriseBean instance)
          the bean object
 void setMethod(java.lang.reflect.Method method)
          在由 Bucket 取得真是的 Method 对象之后,把 Method 设置到 Invocation 中
 

Method Detail

getObjectId

public ObjectId getObjectId()
Returns:
用来执行该方法的 ejb object 的 id

getMethodHash

public java.lang.String getMethodHash()
Returns:
要执行的方法的 hash, 这个 hash 可以唯一的标志一个 method

getArgs

public java.lang.Object[] getArgs()

setMethod

public void setMethod(java.lang.reflect.Method method)
在由 Bucket 取得真是的 Method 对象之后,把 Method 设置到 Invocation 中

Parameters:
method -

getMethod

public java.lang.reflect.Method getMethod()

setBean

public void setBean(javax.ejb.EnterpriseBean instance)
the bean object

Parameters:
instance -

getBean

public javax.ejb.EnterpriseBean getBean()