|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PofSerializer
The PofSerializer interface provides the capability of reading and writing a Java object from and to a POF stream.
In order to support hot-deploying containers, it is important in the case of a PofSerializer implementation that requires ClassLoader context that it not hold any strong references to that ClassLoader, or to any Class objects obtained from that ClassLoader.
PofReader,
PofWriter| Method Summary | |
|---|---|
Object |
deserialize(PofReader in)
Deserialize a user type instance from a POF stream by reading its state using the specified PofReader object. |
void |
serialize(PofWriter out,
Object o)
Serialize a user type instance to a POF stream by writing its state using the specified PofWriter object. |
| Method Detail |
|---|
void serialize(PofWriter out,
Object o)
throws IOException
PofWriter.setVersionId(int).PofWriter.writeRemainder(com.tangosol.util.Binary).
out - the PofWriter with which to write the object's stateo - the object to serialize
IOException - if an I/O error occurs
Object deserialize(PofReader in)
throws IOException
PofWriter.getVersionId().PofReader.readRemainder().
in - the PofReader with which to read the object's state
IOException - if an I/O error occurs
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||