org.huihoo.jfox.ejb.naming.interfaces
Class MarshalledValuePair
java.lang.Object
|
+--org.huihoo.jfox.ejb.naming.interfaces.MarshalledValuePair
- All Implemented Interfaces:
- java.io.Serializable
- public class MarshalledValuePair
- extends java.lang.Object
- implements java.io.Serializable
An encapsulation of a JNDI binding as both the raw object and its
MarshalledObject form. When accessed in the same VM as the JNP server,
the raw object reference is used to avoid deserialization.
- Version:
- $Revision: 0.1.0 $
- Author:
- tai_1219@sina.com
- See Also:
- Serialized Form
|
Constructor Summary |
MarshalledValuePair(java.lang.Object value)
Creates a new instance of MashalledValuePair |
|
Method Summary |
java.lang.Object |
get()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public transient java.lang.Object value
marshalledValue
public java.rmi.MarshalledObject marshalledValue
MarshalledValuePair
public MarshalledValuePair(java.lang.Object value)
throws java.io.IOException
- Creates a new instance of MashalledValuePair
- Parameters:
value - - Creates a new instance of MashalledValuePair
- Creates a new instance of MashalledValuePair
- * Creates a new instance of MashalledValuePair
- Throws:
java.io.IOException
java.io.IOException
java.io.IOException
java.io.IOException
java.io.IOException
java.io.IOException
get
public java.lang.Object get()
throws java.lang.ClassNotFoundException,
java.io.IOException
- Returns:
- Object
- Throws:
java.lang.ClassNotFoundException
java.io.IOException