org.apache.openejb.client
Class JNDIRequest
java.lang.Object
org.apache.openejb.client.JNDIRequest
- All Implemented Interfaces:
- Externalizable, Serializable, ClusterableRequest, Request
public class JNDIRequest
- extends Object
- implements ClusterableRequest
- See Also:
- Serialized Form
JNDIRequest
public JNDIRequest()
JNDIRequest
public JNDIRequest(RequestMethodCode requestMethod,
String requestString)
setMetaData
public void setMetaData(ProtocolMetaData metaData)
- Description copied from interface:
Request
- Set the protocol metadata that can be used for versioned requests
- Specified by:
setMetaData in interface Request
- Parameters:
metaData - ProtocolMetaData
getRequestType
public RequestType getRequestType()
- Specified by:
getRequestType in interface Request
getRequestMethod
public RequestMethodCode getRequestMethod()
getRequestString
public String getRequestString()
getModuleId
public String getModuleId()
setModuleId
public void setModuleId(String moduleId)
setRequestMethod
public void setRequestMethod(RequestMethodCode 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
- Changes to this method must observe the optional
metaData version
- Specified by:
readExternal in interface Externalizable- Specified by:
readExternal in interface Request
- 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- Specified by:
writeExternal in interface Request
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.