org.apache.openejb.client
Class EJBRequest.Body

java.lang.Object
  extended by 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

Constructor Summary
EJBRequest.Body(EJBMetaDataImpl ejb)
           
 
Method Summary
 Class getInterfaceClass()
           
 Method getMethodInstance()
           
 String getMethodName()
           
 Object[] getMethodParameters()
           
 Class[] getMethodParamTypes()
           
protected  ORB getORB()
          Obtain an ORB instance for this request to activate remote arguments and return results.
 Object getPrimaryKey()
           
 void readExternal(ObjectInput in)
           
protected  void readMethodParameters(ObjectInput in)
           
 void setMethodInstance(Method methodInstance)
           
 void setMethodParameters(Object[] methodParameters)
           
 void setPrimaryKey(Object primaryKey)
           
 void writeExternal(ObjectOutput out)
           
protected  void writeMethodParameters(ObjectOutput out, Class[] types, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBRequest.Body

public EJBRequest.Body(EJBMetaDataImpl ejb)
Method Detail

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.