Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


oracle.eclipselink.coherence.integrated.cache
Class ExtractorSerializer

java.lang.Object
  extended by oracle.eclipselink.coherence.integrated.cache.ExtractorSerializer

All Implemented Interfaces:
com.tangosol.io.ClassLoaderAware, com.tangosol.io.pof.PofSerializer

public class ExtractorSerializer
extends java.lang.Object
implements com.tangosol.io.pof.PofSerializer, com.tangosol.io.ClassLoaderAware

Purpose: This class is used to provide serialization support for the Entity Wrappers within Coherence when wish to access the Coherence Caches directly. This includes users who have custom Value Extractors. Users who have custom POF serializers will need to create the pof configuration xml for their types. And set the serializer to be the WrapperPofSerializer instead.

Since:
TopLink 11g (11.1.1.1.0)
Author:
gyorke

Field Summary
protected  int FILTER_EXTRACTOR
           
protected  int INSTANCE_ACCESSOR
           
protected  java.lang.ref.WeakReference<java.lang.ClassLoader> loaderReference
           
protected  int METHOD_ACCESSOR
           
protected  int VERSION_EXTRACTOR
           

 

Constructor Summary
ExtractorSerializer()
           
ExtractorSerializer(java.lang.ClassLoader loader)
           

 

Method Summary
 java.lang.Object deserialize(com.tangosol.io.pof.PofReader pofreader)
           
 java.lang.ClassLoader getContextClassLoader()
           
 void serialize(com.tangosol.io.pof.PofWriter pofwriter, java.lang.Object obj)
           
 void setContextClassLoader(java.lang.ClassLoader loader)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

loaderReference

protected java.lang.ref.WeakReference<java.lang.ClassLoader> loaderReference

INSTANCE_ACCESSOR

protected final int INSTANCE_ACCESSOR
See Also:
Constant Field Values

METHOD_ACCESSOR

protected final int METHOD_ACCESSOR
See Also:
Constant Field Values

VERSION_EXTRACTOR

protected final int VERSION_EXTRACTOR
See Also:
Constant Field Values

FILTER_EXTRACTOR

protected final int FILTER_EXTRACTOR
See Also:
Constant Field Values

Constructor Detail

ExtractorSerializer

public ExtractorSerializer()

ExtractorSerializer

public ExtractorSerializer(java.lang.ClassLoader loader)

Method Detail

deserialize

public java.lang.Object deserialize(com.tangosol.io.pof.PofReader pofreader)
                             throws java.io.IOException
Specified by:
deserialize in interface com.tangosol.io.pof.PofSerializer
Throws:
java.io.IOException

serialize

public void serialize(com.tangosol.io.pof.PofWriter pofwriter,
                      java.lang.Object obj)
               throws java.io.IOException
Specified by:
serialize in interface com.tangosol.io.pof.PofSerializer
Throws:
java.io.IOException

getContextClassLoader

public java.lang.ClassLoader getContextClassLoader()
Specified by:
getContextClassLoader in interface com.tangosol.io.ClassLoaderAware

setContextClassLoader

public void setContextClassLoader(java.lang.ClassLoader loader)
Specified by:
setContextClassLoader in interface com.tangosol.io.ClassLoaderAware

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.