Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » invocation » [javadoc | source]
org.jboss.invocation
public class: MarshalledValue [javadoc | source]
java.lang.Object
   org.jboss.invocation.MarshalledValue

All Implemented Interfaces:
    Externalizable

Direct Known Subclasses:
    HandleWrapper

A simple replacement for the RMI MarshalledObject that uses the thread context class loader for resolving classes and proxies. This currently does not support class annotations and dynamic class loading.
Constructor:
 public MarshalledValue() 
 public MarshalledValue(Object obj) throws IOException 
Method from org.jboss.invocation.MarshalledValue Summary:
equals,   get,   hashCode,   readExternal,   size,   toByteArray,   writeExternal
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.invocation.MarshalledValue Detail:
 public boolean equals(Object obj) 
 public Object get() throws ClassNotFoundException, IOException 
 public int hashCode() 
    Return a hash code for the serialized form of the value.
 public  void readExternal(ObjectInput in) throws ClassNotFoundException, IOException 
    The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
 public int size() 
 public byte[] toByteArray() 
 public  void writeExternal(ObjectOutput out) throws IOException 
    The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.