CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.io.pof
Class ConfigurablePofContext.PofConfig

java.lang.Object
  extended by com.tangosol.io.pof.ConfigurablePofContext.PofConfig
Enclosing class:
ConfigurablePofContext

protected static class ConfigurablePofContext.PofConfig
extends Object

The information related to the configuration of a particular PofContext for a specific URI and ClassLoader.


Field Summary
 WeakReference[] m_arefClassByTypeId
          An array of WeakReferences to user type classes, indexed by type identifier.
 PofSerializer[] m_aserByTypeId
          An array of PofSerializer objects, indexed by type identifier.
 Map m_mapTypeIdByClass
          Once initialized, this references a thread-safe Map that contains mappings from Java classes to POF type identifiers (wrapped as Integer objects).
 Map m_mapTypeIdByClassName
          Once initialized, this references a thread-safe Map that contains mappings from Java class names to POF type identifiers (wrapped as Integer objects).
 XmlElement m_xml
          The XML configuration, if supplied by constructor, or by the XmlConfigurable interface.
 
Constructor Summary
protected ConfigurablePofContext.PofConfig()
           
 

Field Detail

m_xml

public XmlElement m_xml
The XML configuration, if supplied by constructor, or by the XmlConfigurable interface.


m_mapTypeIdByClass

public Map m_mapTypeIdByClass
Once initialized, this references a thread-safe Map that contains mappings from Java classes to POF type identifiers (wrapped as Integer objects). The initial contents of the Map reflect the configuration, but the contents can increase over time as sub-classes of the contained classes are resolved to type IDs (and those mappings are added). Note that a WeakHashMap is used, which means that the contents can disappear unpredictably as described by the documentation for WeakHashMap.


m_mapTypeIdByClassName

public Map m_mapTypeIdByClassName
Once initialized, this references a thread-safe Map that contains mappings from Java class names to POF type identifiers (wrapped as Integer objects). The initial contents of the Map reflect the configuration, but the contents can increase over time as the names of sub-classes (i.e. of the classes corresponding to the contained class names) are resolved to type IDs (and those mappings are added).


m_arefClassByTypeId

public WeakReference[] m_arefClassByTypeId
An array of WeakReferences to user type classes, indexed by type identifier.


m_aserByTypeId

public PofSerializer[] m_aserByTypeId
An array of PofSerializer objects, indexed by type identifier.

Constructor Detail

ConfigurablePofContext.PofConfig

protected ConfigurablePofContext.PofConfig()

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation