SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class SFMarshalledObject

java.lang.Object
  extended by org.smartfrog.sfcore.common.SFMarshalledObject
All Implemented Interfaces:
java.io.Serializable

public final class SFMarshalledObject
extends java.lang.Object
implements java.io.Serializable

A wrapper class to avoid stub classes in intermediate nodes. We delay the packing of the inner object until we serialize the wrapper to avoid replacing exported objects by stubs in a single VM.

See Also:
Serialized Form

Constructor Summary
SFMarshalledObject(java.lang.Object value)
          Creates a new SFMarshalledObject instance.
 
Method Summary
 java.lang.Object get()
          Gets an unwrapped version of the original object, or exactly the original object if we have not been serialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFMarshalledObject

public SFMarshalledObject(java.lang.Object value)
Creates a new SFMarshalledObject instance.

Parameters:
value - an Object value
Method Detail

get

public java.lang.Object get()
Gets an unwrapped version of the original object, or exactly the original object if we have not been serialized.

Returns:
An unwrapped version of the original object, or exactly the original object if we have not been serialized.

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP