|
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.util.NullImplementation.NullPofContext
public static class NullImplementation.NullPofContext
An implementation of PofContext that does nothing.
| Field Summary | |
|---|---|
static NullImplementation.NullPofContext |
INSTANCESingleton instance. |
| 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.Class |
getClass(int nTypeId)Determine the class associated with the given user type identifier. |
java.lang.String |
getClassName(int nTypeId)Determine the name of the class associated with the given user type identifier. |
PofSerializer |
getPofSerializer(int nTypeId)Return a PofSerializer that can be used to serialize and deserialize an object of the specified user type to and from a POF stream. |
int |
getUserTypeIdentifier(java.lang.Class clz)Determine the user type identifier associated with the given class. |
int |
getUserTypeIdentifier(java.lang.Object o)Determine the user type identifier associated with the given object. |
int |
getUserTypeIdentifier(java.lang.String sClass)Determine the user type identifier associated with the given class name. |
boolean |
isUserType(java.lang.Class clz)Determine if the given class is a user type known to this PofContext. |
boolean |
isUserType(java.lang.Object o)Determine if the given object is of a user type known to this PofContext. |
boolean |
isUserType(java.lang.String sClass)Determine if the class with the given name is a user type known to this PofContext. |
void |
serialize(WriteBuffer.BufferOutput out, java.lang.Object o)Serialize an object to a WriteBuffer by writing its state using the specified BufferOutput object. |
| Field Detail |
|---|
public static final NullImplementation.NullPofContext INSTANCE
| Method Detail |
|---|
public PofSerializer getPofSerializer(int nTypeId)
getPofSerializer in interface PofContextnTypeId - the type identifier of the user type that can be serialized and deserialized using the returned PofSerializer; must be non-negativepublic int getUserTypeIdentifier(java.lang.Object o)
getUserTypeIdentifier in interface PofContexto - an instance of a user type; must not be nullpublic int getUserTypeIdentifier(java.lang.Class clz)
getUserTypeIdentifier in interface PofContextclz - a user type class; must not be nullpublic int getUserTypeIdentifier(java.lang.String sClass)
getUserTypeIdentifier in interface PofContextsClass - the name of a user type class; must not be nullpublic java.lang.String getClassName(int nTypeId)
getClassName in interface PofContextnTypeId - the user type identifier; must be non-negativepublic java.lang.Class getClass(int nTypeId)
getClass in interface PofContextnTypeId - the user type identifier; must be non-negativepublic boolean isUserType(java.lang.Object o)
isUserType in interface PofContexto - the object to test; must not be nullpublic boolean isUserType(java.lang.Class clz)
isUserType in interface PofContextclz - the class to test; must not be nullpublic boolean isUserType(java.lang.String sClass)
isUserType in interface PofContextsClass - the name of the class to test; must not be null
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 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 | |||||||