public abstract class PersistenceDelegate extends Object
PersistenceDelegate
instances write received bean objects to
encoders in the form of expressions and statements, which can be evaluated or
executed to reconstruct the recorded bean objects in a new environment during
decoding. Expressions are usually used to instantiate bean objects in the new
environment, and statements are used to initialize their properties if
necessary. As a result, the reconstructed bean objects become equivalent to
the original recorded ones in terms of their public states.Constructor and Description |
---|
PersistenceDelegate()
Default constructor.
|
public void writeObject(Object oldInstance, Encoder out)
oldInstance
- the old instance to be writtenout
- the encoder that the old instance will be written toCopyright © 2013. All Rights Reserved.