Serializable
public class RootNameLookup extends Object implements Serializable
Modifier and Type | Field | 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.
|
Constructor | Description |
---|---|
RootNameLookup() |
Modifier and Type | Method | Description |
---|---|---|
PropertyName |
findRootName(JavaType rootType,
MapperConfig<?> config) |
|
PropertyName |
findRootName(Class<?> rootType,
MapperConfig<?> config) |
|
protected Object |
readResolve() |
Need to override to reproduce cache object via constructor, instead
of serialize/deserialize (since we do NOT want to retain cached data)
|
protected transient LRUMap<ClassKey,PropertyName> _rootNames
public PropertyName findRootName(JavaType rootType, MapperConfig<?> config)
public PropertyName findRootName(Class<?> rootType, MapperConfig<?> config)
protected Object readResolve()
Copyright © 2008–2018. All rights reserved.