|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| 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. <p/> 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 serializeIOException - 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 stateIOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||