org.apache.openejb.client
Class JNDIResponse
java.lang.Object
org.apache.openejb.client.JNDIResponse
- All Implemented Interfaces:
- Externalizable, Serializable, ClusterableResponse, Response
public class JNDIResponse
- extends Object
- implements ClusterableResponse
- See Also:
- Serialized Form
JNDIResponse
public JNDIResponse()
JNDIResponse
public JNDIResponse(int code,
Object obj)
getResponseCode
public int getResponseCode()
getResult
public Object getResult()
setResponseCode
public void setResponseCode(int responseCode)
setResult
public void setResult(Object result)
setServer
public void setServer(ServerMetaData server)
- Specified by:
setServer
in interface ClusterableResponse
getServer
public ServerMetaData getServer()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Specified by:
readExternal
in interface Response
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Specified by:
writeExternal
in interface Response
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.