|
|||||||||||
| 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 | |
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 |
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 EJBInvocationpublic EJBInterfaceType getType()
EJBInvocation
getType in interface EJBInvocationpublic Object[] getArguments()
EJBInvocation
getArguments in interface EJBInvocationpublic Object getId()
EJBInvocation
getId in interface EJBInvocationpublic EJBInstanceContext getEJBInstanceContext()
EJBInvocation
getEJBInstanceContext in interface EJBInvocationpublic void setEJBInstanceContext(EJBInstanceContext instanceContext)
EJBInvocation
setEJBInstanceContext in interface EJBInvocationinstanceContext - the instance context to usepublic org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
EJBInvocation
getTransactionContext in interface EJBInvocationpublic void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
EJBInvocation
setTransactionContext in interface EJBInvocationtransactionContext - the transaction context to usepublic org.apache.geronimo.core.service.InvocationResult createResult(Object object)
createResult in interface EJBInvocationpublic org.apache.geronimo.core.service.InvocationResult createExceptionResult(Exception exception)
createExceptionResult in interface EJBInvocation
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||