org.erights.e.extern.persist
Class PersistenceReviver
java.lang.Object
|
+--org.erights.e.elib.serial.Reviver
|
+--org.erights.e.extern.persist.PersistenceReviver
- public class PersistenceReviver
- extends Reviver
Untamed: Used to specialize the
UnserializationStream
for reviving from persistent state.
- Author:
- Mark S. Miller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mySuture
private final ConstMap mySuture
myIsStrict
private final boolean myIsStrict
PersistenceReviver
public PersistenceReviver(ConstMap suture)
- Enabled: isStrict defaults to true.
PersistenceReviver
public PersistenceReviver(ConstMap suture,
boolean isStrict)
- Enabled:
substitute
public Object substitute(Object ref)
- Enabled: Resolves the suture, but otherwise just returns ref.
- Specified by:
substitute
in class Reviver
- Parameters:
ref
- The object that was reconstructed from the serialization
stream.
- Returns:
- The object to return in its stead -- as its revival.
comments?