|
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 | |||||||
java.lang.Object
com.tangosol.io.DefaultSerializer
public final class DefaultSerializer
A Serializer implementation that uses the ExternalizableHelper implementation for serialization and deserialization of objects.
| Constructor Summary | |
|---|---|
DefaultSerializer()Default constructor. |
|
DefaultSerializer(java.lang.ClassLoader loader)Construct a DefaultSerializer that will use the passed ClassLoader. |
|
| Method Summary | |
|---|---|
java.lang.Object |
deserialize(ReadBuffer.BufferInput in)Deserialize an object from a ReadBuffer by reading its state using the specified BufferInput object. |
java.lang.ClassLoader |
getContextClassLoader()Retrieve the context ClassLoader for this object. |
void |
serialize(WriteBuffer.BufferOutput out, java.lang.Object o)Serialize an object to a WriteBuffer by writing its state using the specified BufferOutput object. |
void |
setContextClassLoader(java.lang.ClassLoader loader)Specify the context ClassLoader for this object. |
java.lang.String |
toString()Return a description of this DefaultSerializer. |
| Constructor Detail |
|---|
public DefaultSerializer()
public DefaultSerializer(java.lang.ClassLoader loader)
loader - the ClassLoader to use for deserialization| Method Detail |
|---|
public void serialize(WriteBuffer.BufferOutput out,
java.lang.Object o)
throws java.io.IOException
serialize in interface Serializerout - the BufferOutput with which to write the object's stateo - the object to serializejava.io.IOException - if an I/O error occurs
public java.lang.Object deserialize(ReadBuffer.BufferInput in)
throws java.io.IOException
deserialize in interface Serializerin - the BufferInput with which to read the object's statejava.io.IOException - if an I/O error occurspublic java.lang.ClassLoader getContextClassLoader()
getContextClassLoader in interface ClassLoaderAwareThread.getContextClassLoader()public void setContextClassLoader(java.lang.ClassLoader loader)
setContextClassLoader in interface ClassLoaderAwareloader - the context ClassLoader for this objectpublic java.lang.String toString()
|
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 | |||||||