|
|||||||||||
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)
|
Method Summary | |
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 |
setProxyFactory(EJBProxyFactory ejbProxyFactory)
The EJBProxyFactory must be set before calling getMethodIndex. |
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(int requestMethod)
Method Detail |
public void setProxyFactory(EJBProxyFactory ejbProxyFactory)
public Object[] getArguments()
EJBInvocation
getArguments
in interface EJBInvocation
public Object getId()
EJBInvocation
getId
in interface EJBInvocation
public int getMethodIndex()
EJBInvocation
getMethodIndex
in interface EJBInvocation
public EJBInterfaceType getType()
EJBInvocation
getType
in interface EJBInvocation
public Class getMethodClass()
getMethodClass
in class EJBRequest
public Method getMethodInstance()
getMethodInstance
in class EJBRequest
public String getMethodName()
getMethodName
in class EJBRequest
public Object[] getMethodParameters()
getMethodParameters
in class EJBRequest
public Class[] getMethodParamTypes()
getMethodParamTypes
in class EJBRequest
public Object getPrimaryKey()
getPrimaryKey
in class EJBRequest
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
EJBRequest
readExternal
in interface Request
readExternal
in class EJBRequest
in
- 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.Invocation
public void setEJBInstanceContext(EJBInstanceContext instanceContext)
EJBInvocation
setEJBInstanceContext
in interface EJBInvocation
instanceContext
- the instance context to usepublic void setTransactionContext(org.apache.geronimo.transaction.context.TransactionContext transactionContext)
EJBInvocation
setTransactionContext
in interface EJBInvocation
transactionContext
- the transaction context to usepublic EJBInstanceContext getEJBInstanceContext()
EJBInvocation
getEJBInstanceContext
in interface EJBInvocation
public org.apache.geronimo.transaction.context.TransactionContext getTransactionContext()
EJBInvocation
getTransactionContext
in interface EJBInvocation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |