|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChangeApplicator
Applies a serialized change to an object.
| Method Summary | |
|---|---|
void |
dehydrate(ApplicatorObjectManager objectManager,
TCObjectExternal tcObject,
DNAWriter writer,
java.lang.Object pojo)
Write an object's state to DNA |
java.lang.Object |
getNewInstance(ApplicatorObjectManager objectManager,
DNA dna)
Instantiate a new instance of the object from DNA. |
TraversedReferences |
getPortableObjects(java.lang.Object pojo,
TraversedReferences addTo)
Traverse an object and find all object references within it. |
void |
hydrate(ApplicatorObjectManager objectManager,
TCObjectExternal tcObject,
DNA dna,
java.lang.Object pojo)
Reconstitute the state of an object from DNA. |
| Method Detail |
|---|
void hydrate(ApplicatorObjectManager objectManager,
TCObjectExternal tcObject,
DNA dna,
java.lang.Object pojo)
throws java.io.IOException,
java.lang.ClassNotFoundException
objectManager - The client-side object managertcObject - The manager for the objectdna - The DNA, representing the state of the objectpojo - A new instance of the object to reconstitute - this object will be modified with the values from the
DNA
java.io.IOException
java.lang.ClassNotFoundException
void dehydrate(ApplicatorObjectManager objectManager,
TCObjectExternal tcObject,
DNAWriter writer,
java.lang.Object pojo)
objectManager - The client-side object managertcObject - The manager for the objectwriter - The DNA writer for writing the DNApojo - The object to write to writer
TraversedReferences getPortableObjects(java.lang.Object pojo,
TraversedReferences addTo)
pojo - The object instanceaddTo - A collection of traversed references found
java.lang.Object getNewInstance(ApplicatorObjectManager objectManager,
DNA dna)
throws java.io.IOException,
java.lang.ClassNotFoundException
objectManager - The client-side object managerdna - The DNA for the new object
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||