org.apache.openejb.client
Class EJBRequest
java.lang.Object
org.apache.openejb.client.EJBRequest
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, ClusterableRequest, Request
public class EJBRequest
- extends java.lang.Object
- implements ClusterableRequest
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SESSION_BEAN_STATELESS
public static final int SESSION_BEAN_STATELESS
- See Also:
- Constant Field Values
SESSION_BEAN_STATEFUL
public static final int SESSION_BEAN_STATEFUL
- See Also:
- Constant Field Values
ENTITY_BM_PERSISTENCE
public static final int ENTITY_BM_PERSISTENCE
- See Also:
- Constant Field Values
ENTITY_CM_PERSISTENCE
public static final int ENTITY_CM_PERSISTENCE
- See Also:
- Constant Field Values
EJBRequest
public EJBRequest()
EJBRequest
public EJBRequest(int requestMethod,
EJBMetaDataImpl ejb,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object primaryKey)
getEjbMetaData
public EJBMetaDataImpl getEjbMetaData()
getInterfaceClass
public java.lang.Class getInterfaceClass()
getMethodInstance
public java.lang.reflect.Method getMethodInstance()
getMethodName
public java.lang.String getMethodName()
getMethodParameters
public java.lang.Object[] getMethodParameters()
getMethodParamTypes
public java.lang.Class[] getMethodParamTypes()
getPrimaryKey
public java.lang.Object getPrimaryKey()
setMethodInstance
public void setMethodInstance(java.lang.reflect.Method methodInstance)
setMethodParameters
public void setMethodParameters(java.lang.Object[] methodParameters)
setPrimaryKey
public void setPrimaryKey(java.lang.Object primaryKey)
getBody
public EJBRequest.Body getBody()
setBody
public void setBody(EJBRequest.Body body)
getRequestType
public byte getRequestType()
- Specified by:
getRequestType
in interface Request
getRequestMethod
public int getRequestMethod()
getClientIdentity
public java.lang.Object getClientIdentity()
getDeploymentId
public java.lang.String getDeploymentId()
getDeploymentCode
public int getDeploymentCode()
setRequestMethod
public void setRequestMethod(int requestMethod)
setClientIdentity
public void setClientIdentity(java.lang.Object clientIdentity)
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
setDeploymentCode
public void setDeploymentCode(int deploymentCode)
setServerHash
public void setServerHash(int serverHash)
- Specified by:
setServerHash
in interface ClusterableRequest
getServerHash
public int getServerHash()
- Specified by:
getServerHash
in interface ClusterableRequest
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Specified by:
readExternal
in interface Request
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Specified by:
writeExternal
in interface Request
- Throws:
java.io.IOException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.