|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openejb.client.EJBRequest
org.openejb.server.ejbd.EJBInvocationStream
| Field Summary |
| Fields inherited from class org.openejb.client.EJBRequest |
ENTITY_BM_PERSISTENCE, ENTITY_CM_PERSISTENCE, SESSION_BEAN_STATEFUL, SESSION_BEAN_STATELESS |
| Constructor Summary | |
EJBInvocationStream()
|
|
EJBInvocationStream(int requestMethod)
|
|
EJBInvocationStream(ORBRef orbRef)
|
|
| Method Summary | |
org.apache.geronimo.core.service.InvocationResult |
createExceptionResult(Exception exception)
|
org.apache.geronimo.core.service.InvocationResult |
createResult(Object object)
|
Object |
get(org.apache.geronimo.core.service.InvocationKey arg0)
|
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. |
Class |
getMethodClass()
|
int |
getMethodIndex()
The index of the virtual EJB operation |
Method |
getMethodInstance()
|
String |
getMethodName()
|
Object[] |
getMethodParameters()
|
Class[] |
getMethodParamTypes()
|
Object |
getPrimaryKey()
|
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 |
put(org.apache.geronimo.core.service.InvocationKey arg0,
Object arg1)
|
void |
readExternal(ObjectInput in)
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
void |
setEJBInstanceContext(EJBInstanceContext instanceContext)
Set the instance context to use |
void |
setMethodIndex(int methodIndex)
|
void |
setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
Setx the transaction context to use. |
| Methods inherited from class org.openejb.client.EJBRequest |
clearState, getClientIdentity, getContainerCode, getContainerID, getRequestMethod, getRequestType, loadMethodInstance, readClientIdentity, readContainerId, readMethod, readMethodParameters, readPrimaryKey, readRequestMethod, setClientIdentity, setContainerCode, setContainerID, setMethodInstance, setMethodParameters, setPrimaryKey, setRequestMethod, toString, writeExternal, writeMethodParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EJBInvocationStream()
public EJBInvocationStream(ORBRef orbRef)
public EJBInvocationStream(int requestMethod)
| Method Detail |
public Object[] getArguments()
EJBInvocation
getArguments in interface EJBInvocationpublic Object getId()
EJBInvocation
getId in interface EJBInvocationpublic int getMethodIndex()
EJBInvocation
getMethodIndex in interface EJBInvocationpublic EJBInterfaceType getType()
EJBInvocation
getType in interface EJBInvocationpublic Class getMethodClass()
getMethodClass in class EJBRequestpublic Method getMethodInstance()
getMethodInstance in class EJBRequestpublic String getMethodName()
getMethodName in class EJBRequestpublic Object[] getMethodParameters()
getMethodParameters in class EJBRequestpublic Class[] getMethodParamTypes()
getMethodParamTypes in class EJBRequestpublic Object getPrimaryKey()
getPrimaryKey in class EJBRequest
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
EJBRequest
readExternal in interface RequestreadExternal in class EJBRequestin - the stream to read data from in order to restore the object
IOException - if I/O errors occur
ClassNotFoundException - If the class for an object being
restored cannot be found.public Object get(org.apache.geronimo.core.service.InvocationKey arg0)
get in interface org.apache.geronimo.core.service.Invocation
public void put(org.apache.geronimo.core.service.InvocationKey arg0,
Object arg1)
put in interface org.apache.geronimo.core.service.Invocationpublic void setEJBInstanceContext(EJBInstanceContext instanceContext)
EJBInvocation
setEJBInstanceContext in interface EJBInvocationinstanceContext - the instance context to usepublic void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
EJBInvocation
setTransactionContext in interface EJBInvocationtransactionContext - the transaction context to usepublic EJBInstanceContext getEJBInstanceContext()
EJBInvocation
getEJBInstanceContext in interface EJBInvocationpublic org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
EJBInvocation
getTransactionContext in interface EJBInvocationpublic void setMethodIndex(int methodIndex)
public 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
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||