org.apache.openejb.client
Class JNDIRequest

java.lang.Object
  extended by org.apache.openejb.client.JNDIRequest
All Implemented Interfaces:
Externalizable, Serializable, ClusterableRequest, Request

public class JNDIRequest
extends Object
implements ClusterableRequest

See Also:
Serialized Form

Constructor Summary
JNDIRequest()
           
JNDIRequest(int requestMethod, String requestString)
           
 
Method Summary
 String getModuleId()
           
 int getRequestMethod()
           
 String getRequestString()
           
 byte getRequestType()
           
 int getServerHash()
           
 void readExternal(ObjectInput in)
           
 void setModuleId(String moduleId)
           
 void setRequestMethod(int requestMethod)
           
 void setRequestString(String requestString)
           
 void setServerHash(int serverHash)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JNDIRequest

public JNDIRequest()

JNDIRequest

public JNDIRequest(int requestMethod,
                   String requestString)
Method Detail

getRequestType

public byte getRequestType()
Specified by:
getRequestType in interface Request

getRequestMethod

public int getRequestMethod()

getRequestString

public String getRequestString()

getModuleId

public String getModuleId()

setModuleId

public void setModuleId(String moduleId)

setRequestMethod

public void setRequestMethod(int requestMethod)

setRequestString

public void setRequestString(String requestString)

setServerHash

public void setServerHash(int serverHash)
Specified by:
setServerHash in interface ClusterableRequest

getServerHash

public int getServerHash()
Specified by:
getServerHash in interface ClusterableRequest

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

toString

public String toString()
Overrides:
toString in class Object


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