public class MarshalledObject extends Object implements Externalizable
| Constructor and Description |
|---|
MarshalledObject()
Do not use.
|
MarshalledObject(Object o,
VmId id,
String transportType)
Constructor for MarshalledObject.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(ClassLoader loader)
Returns the object that this instance wraps.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public MarshalledObject()
public MarshalledObject(Object o, VmId id, String transportType) throws IOException
IOExceptionpublic Object get(ClassLoader loader) throws IOException, ClassNotFoundException
loader - the ClassLoader to use for deserialization.ObjectIOException - if an error occurs while deserializing.ClassNotFoundException - if the class of the object to deserialize
was not found.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionExternalizable.readExternal(ObjectInput)public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionExternalizable.writeExternal(ObjectOutput)Copyright © 2012 Sapia OSS. All Rights Reserved.