protected static class ConfigurablePofContext.PofConfig extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
m_fInterfaceAllowed
True iff an interface name is acceptable in the configuration as
the class of a user type.
|
boolean |
m_fPreferJavaTime
True if Java 8 date/time types (java.time.*) should be preferred over
legacy types.
|
boolean |
m_fReferenceEnabled
True iff POF Identity/Reference type support is enabled.
|
boolean |
m_fSubclassAllowed
True iff serialization of sub-classes is explicitly enabled.
|
Map |
m_mapClassNameByTypeId
Once initialized, this references a thread-safe Map that contains
mappings from POF type identifiers (wrapped as Integer objects) to
Java class names.
|
Map<Integer,WeakReference<Class<?>>> |
m_mapClzByTypeId
A
Map of WeakReference s to user type classes, keyed by type identifier. |
Map<Integer,PofSerializer> |
m_mapSerByTypeId
A
Map of PofSerializer objects, keyed by type identifier. |
Map<Class<?>,Integer> |
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<String,Integer> |
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).
|
Modifier | Constructor and Description |
---|---|
protected |
PofConfig() |
public Map<Class<?>,Integer> m_mapTypeIdByClass
public Map<String,Integer> m_mapTypeIdByClassName
public Map<Integer,WeakReference<Class<?>>> m_mapClzByTypeId
Map
of WeakReference
s to user type classes, keyed by type identifier.public Map<Integer,PofSerializer> m_mapSerByTypeId
Map
of PofSerializer objects, keyed by type identifier.public boolean m_fInterfaceAllowed
public boolean m_fSubclassAllowed
public boolean m_fReferenceEnabled
public boolean m_fPreferJavaTime
public Map m_mapClassNameByTypeId