|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Codec
A Codec provides an interception point for any specific code that needs to be executed pre or post (de)serialization. In the case of deserialization this could be to return a concrete implementation and with serialization this could be to explicitly call a specific method on PofWriter that is not carried out by PofWriter.writeObject(int, Object).
| Method Summary | |
|---|---|
java.lang.Object |
decode(PofReader in, int iProp)Deserialize an object from the provided PofReader. |
void |
encode(PofWriter out, int iProp, java.lang.Object value)Serialize an object using the provided PofWriter. |
| Method Detail |
|---|
java.lang.Object decode(PofReader in,
int iProp)
throws java.io.IOException
PofReader. Implementing this interface allows introducing specific return implementations.in - the PofReader to read fromiProp - the index of the POF property to deserializejava.io.IOException - if an I/O error occurs
void encode(PofWriter out,
int iProp,
java.lang.Object value)
throws java.io.IOException
PofWriter.out - the PofWriter to read fromiProp - the index of the POF property to serializevalue - the value to serializejava.io.IOException - if an I/O error occurs
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||