public class MarshalledObjectForLocalCalls extends Object implements Externalizable
| Constructor and Description |
|---|
MarshalledObjectForLocalCalls() |
MarshalledObjectForLocalCalls(Object obj) |
MarshalledObjectForLocalCalls(Object obj,
SafeCloningRepository safeToReuse) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
The object has to be unserialized only when the first get is executed.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public MarshalledObjectForLocalCalls()
public MarshalledObjectForLocalCalls(Object obj) throws IOException
IOExceptionpublic MarshalledObjectForLocalCalls(Object obj, SafeCloningRepository safeToReuse) throws IOException
IOExceptionpublic Object get() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2011-2012 Ovea. All Rights Reserved.