|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.core.service.SimpleInvocation
org.openejb.EJBInvocationImpl
Constructor Summary | |
EJBInvocationImpl()
No-arg constructor needed for Externalizable |
|
EJBInvocationImpl(EJBInterfaceType type,
int index,
Object[] arguments)
|
|
EJBInvocationImpl(EJBInterfaceType type,
Object id,
int index,
Object[] arguments)
|
|
EJBInvocationImpl(int index,
Object[] arguments,
EJBInstanceContext instanceContext)
|
Method Summary | |
Object[] |
getArguments()
Any arguments to the invocation (e.g. |
EJBInstanceContext |
getEJBInstanceContext()
The context representing the actual instance to use for processing this request. |
Object |
getId()
The identity of the instance being invoked; for example, the primary key of an Entity EJB. |
int |
getMethodIndex()
The index of the virtual EJB operation |
org.apache.geronimo.transaction.context.TransactionContext |
getTransactionContext()
Gets the transaction context to use. |
EJBInterfaceType |
getType()
The type of invocation, indicating which interface was invoked or which 'special' callback was should be invoked (e.g. |
void |
readExternal(ObjectInput in)
|
void |
setEJBInstanceContext(EJBInstanceContext instanceContext)
Set the instance context to use |
void |
setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
Setx the transaction context to use. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class org.apache.geronimo.core.service.SimpleInvocation |
get, put |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.geronimo.core.service.Invocation |
get, put |
Constructor Detail |
public EJBInvocationImpl()
public EJBInvocationImpl(EJBInterfaceType type, int index, Object[] arguments)
public EJBInvocationImpl(EJBInterfaceType type, Object id, int index, Object[] arguments)
public EJBInvocationImpl(int index, Object[] arguments, EJBInstanceContext instanceContext)
Method Detail |
public int getMethodIndex()
EJBInvocation
getMethodIndex
in interface EJBInvocation
public EJBInterfaceType getType()
EJBInvocation
getType
in interface EJBInvocation
public Object[] getArguments()
EJBInvocation
getArguments
in interface EJBInvocation
public Object getId()
EJBInvocation
getId
in interface EJBInvocation
public EJBInstanceContext getEJBInstanceContext()
EJBInvocation
getEJBInstanceContext
in interface EJBInvocation
public void setEJBInstanceContext(EJBInstanceContext instanceContext)
EJBInvocation
setEJBInstanceContext
in interface EJBInvocation
instanceContext
- the instance context to usepublic org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
EJBInvocation
getTransactionContext
in interface EJBInvocation
public void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
EJBInvocation
setTransactionContext
in interface EJBInvocation
transactionContext
- the transaction context to usepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |