|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specialization of Invocation to define attributes specific to the invocation of an EJB. This provides a type-safe mechanism for Interceptors to access EJB specific information; it is the responsibility of the original to ensure the Invocation implementation supports this interface if it is going to be processed by an EJBContainer.
Method Summary | |
org.apache.geronimo.core.service.InvocationResult |
createExceptionResult(Exception exception)
|
org.apache.geronimo.core.service.InvocationResult |
createResult(Object object)
|
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 |
setEJBInstanceContext(EJBInstanceContext instanceContext)
Set the instance context to use |
void |
setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
Setx the transaction context to use. |
Methods inherited from interface org.apache.geronimo.core.service.Invocation |
get, put |
Method Detail |
public int getMethodIndex()
public EJBInterfaceType getType()
public Object[] getArguments()
public Object getId()
public EJBInstanceContext getEJBInstanceContext()
public void setEJBInstanceContext(EJBInstanceContext instanceContext)
instanceContext
- the instance context to usepublic org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
public void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
transactionContext
- the transaction context to usepublic org.apache.geronimo.core.service.InvocationResult createResult(Object object)
public org.apache.geronimo.core.service.InvocationResult createExceptionResult(Exception exception)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |