|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.voyager.Snapshot
A Snapshot contains all the information necessary to save an object for subsequent restoration. It is commonly used by the activation framework for saving/restoring an object's state.
IActivator
, Serialized FormMethod Summary | |
static Snapshot |
from(java.lang.Object object,
java.util.Properties properties,
java.lang.Object[] facets)
Construct and return a snapshot from the specified arguments. |
java.lang.Object[] |
getFacets()
Return the facets of the object or null if it has none. |
java.lang.Object |
getObject()
Return the object. |
java.util.Properties |
getProperties()
Return the properties of the object or null if it has none. |
static Snapshot |
of(java.lang.Object object)
Return a snapshot of the specified object. |
Proxy |
restore()
Return a proxy to my object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.lang.Object getObject()
public java.util.Properties getProperties()
public java.lang.Object[] getFacets()
public Proxy restore() throws java.io.IOException
public static Snapshot of(java.lang.Object object)
object
- The object.public static Snapshot from(java.lang.Object object, java.util.Properties properties, java.lang.Object[] facets)
object
- The object.properties
- The properties of the object.facets
- The facets associated with the object.
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |