org.apache.openejb.client
Class EJBRequest.Body

java.lang.Object
  extended by org.apache.openejb.client.EJBRequest.Body
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable
Enclosing class:
EJBRequest

public static class EJBRequest.Body
extends java.lang.Object
implements java.io.Externalizable

See Also:
Serialized Form

Constructor Summary
EJBRequest.Body(EJBMetaDataImpl ejb)
           
 
Method Summary
 java.lang.Class getInterfaceClass()
           
 java.lang.reflect.Method getMethodInstance()
           
 java.lang.String getMethodName()
           
 java.lang.Object[] getMethodParameters()
           
 java.lang.Class[] getMethodParamTypes()
           
protected  org.omg.CORBA.ORB getORB()
          Obtain an ORB instance for this request to activate remote arguments and return results.
 java.lang.Object getPrimaryKey()
           
 void readExternal(java.io.ObjectInput in)
           
protected  void readMethodParameters(java.io.ObjectInput in)
           
 void setMethodInstance(java.lang.reflect.Method methodInstance)
           
 void setMethodParameters(java.lang.Object[] methodParameters)
           
 void setPrimaryKey(java.lang.Object primaryKey)
           
 void writeExternal(java.io.ObjectOutput out)
           
protected  void writeMethodParameters(java.io.ObjectOutput out, java.lang.Class[] types, java.lang.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 java.lang.reflect.Method getMethodInstance()

getMethodParameters

public java.lang.Object[] getMethodParameters()

getPrimaryKey

public java.lang.Object getPrimaryKey()

getInterfaceClass

public java.lang.Class getInterfaceClass()

getMethodName

public java.lang.String getMethodName()

getMethodParamTypes

public java.lang.Class[] getMethodParamTypes()

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)

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
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
Throws:
java.io.IOException

writeMethodParameters

protected void writeMethodParameters(java.io.ObjectOutput out,
                                     java.lang.Class[] types,
                                     java.lang.Object[] args)
                              throws java.io.IOException
Throws:
java.io.IOException

getORB

protected org.omg.CORBA.ORB getORB()
                            throws java.io.IOException
Obtain an ORB instance for this request to activate remote arguments and return results.

Returns:
An ORB instance.
Throws:
java.io.IOException

readMethodParameters

protected void readMethodParameters(java.io.ObjectInput in)
                             throws java.io.IOException,
                                    java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.