org.apache.openejb.client
Class EJBRequest.Body
java.lang.Object
org.apache.openejb.client.EJBRequest.Body
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- EJBRequest
public static class EJBRequest.Body
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBRequest.Body
public EJBRequest.Body(EJBMetaDataImpl ejb)
getMethodInstance
public Method getMethodInstance()
getMethodParameters
public Object[] getMethodParameters()
getPrimaryKey
public Object getPrimaryKey()
getInterfaceClass
public Class getInterfaceClass()
getMethodName
public String getMethodName()
getMethodParamTypes
public Class[] getMethodParamTypes()
setMethodInstance
public void setMethodInstance(Method methodInstance)
setMethodParameters
public void setMethodParameters(Object[] methodParameters)
setPrimaryKey
public void setPrimaryKey(Object primaryKey)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
writeMethodParameters
protected void writeMethodParameters(ObjectOutput out,
Class[] types,
Object[] args)
throws IOException
- Throws:
IOException
getORB
protected ORB getORB()
throws IOException
- Obtain an ORB instance for this request to activate remote
arguments and return results.
- Returns:
- An ORB instance.
- Throws:
IOException
readMethodParameters
protected void readMethodParameters(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.