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()
           
EJBRequest.Body(EJBMetaDataImpl ejb)
           
 
Method Summary
 JNDIContext.AuthenticationInfo getAuthentication()
           
 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()
           
 String getRequestId()
           
 byte getVersion()
           
 void readExternal(ObjectInput in)
          Changes to this method must observe the optional metaData version
protected  void readMethodParameters(ObjectInput in)
          Changes to this method must observe the optional metaData version
 void setAuthentication(JNDIContext.AuthenticationInfo authentication)
           
 void setMetaData(ProtocolMetaData metaData)
           
 void setMethodInstance(Method methodInstance)
           
 void setMethodParameters(Object[] methodParameters)
           
 void setPrimaryKey(Object primaryKey)
           
 void setRequestId(String requestId)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
          Changes to this method must observe the optional metaData version
protected  void writeMethodParameters(ObjectOutput out, Class[] types, Object[] args)
          Changes to this method must observe the optional metaData version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBRequest.Body

public EJBRequest.Body(EJBMetaDataImpl ejb)

EJBRequest.Body

public EJBRequest.Body()
Method Detail

setMetaData

public void setMetaData(ProtocolMetaData metaData)

getVersion

public byte getVersion()

setAuthentication

public void setAuthentication(JNDIContext.AuthenticationInfo authentication)

getAuthentication

public JNDIContext.AuthenticationInfo getAuthentication()

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)

getRequestId

public String getRequestId()

setRequestId

public void setRequestId(String requestId)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Changes to this method must observe the optional metaData version

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Changes to this method must observe the optional metaData version

Specified by:
writeExternal in interface Externalizable
Throws:
IOException

writeMethodParameters

protected void writeMethodParameters(ObjectOutput out,
                                     Class[] types,
                                     Object[] args)
                              throws IOException
Changes to this method must observe the optional metaData version

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 - On error

readMethodParameters

protected void readMethodParameters(ObjectInput in)
                             throws IOException,
                                    ClassNotFoundException
Changes to this method must observe the optional metaData version

Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.