org.apache.openejb.client
Class EJBRequest
java.lang.Object
org.apache.openejb.client.EJBRequest
- All Implemented Interfaces:
- Externalizable, Serializable, ClusterableRequest, Request
public class EJBRequest
- extends Object
- implements ClusterableRequest
- See Also:
- Serialized Form
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,
Method method,
Object[] args,
Object primaryKey)
getInterfaceClass
public Class getInterfaceClass()
getMethodInstance
public Method getMethodInstance()
getMethodName
public String getMethodName()
getMethodParameters
public Object[] getMethodParameters()
getMethodParamTypes
public Class[] getMethodParamTypes()
getPrimaryKey
public Object getPrimaryKey()
setMethodInstance
public void setMethodInstance(Method methodInstance)
setMethodParameters
public void setMethodParameters(Object[] methodParameters)
setPrimaryKey
public void setPrimaryKey(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 Object getClientIdentity()
getDeploymentId
public String getDeploymentId()
getDeploymentCode
public int getDeploymentCode()
setRequestMethod
public void setRequestMethod(int requestMethod)
setClientIdentity
public void setClientIdentity(Object clientIdentity)
setDeploymentId
public void setDeploymentId(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 String toString()
- Overrides:
toString
in class Object
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Specified by:
readExternal
in interface Request
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Specified by:
writeExternal
in interface Request
- Throws:
IOException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.