public class RootNameLookup
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected LRUMap<ClassKey,PropertyName> |
_rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
RootNameLookup() |
Modifier and Type | Method and Description |
---|---|
PropertyName |
findRootName(java.lang.Class<?> rootType,
MapperConfig<?> config) |
PropertyName |
findRootName(JavaType rootType,
MapperConfig<?> config) |
protected java.lang.Object |
readResolve()
Need to override to reproduce cache object via constructor, instead
of serialize/deserialize (since we do NOT want to retain cached data)
|
private static final long serialVersionUID
protected transient LRUMap<ClassKey,PropertyName> _rootNames
public PropertyName findRootName(JavaType rootType, MapperConfig<?> config)
public PropertyName findRootName(java.lang.Class<?> rootType, MapperConfig<?> config)
protected java.lang.Object readResolve()