java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util.RootNameLookup
All Implemented Interfaces:
Serializable

public class RootNameLookup extends Object implements Serializable
Helper class for caching resolved root names.
See Also:
  • Field Details

    • _rootNames

      protected transient 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 Details

    • RootNameLookup

      public RootNameLookup()
  • Method Details

    • findRootName

      public PropertyName findRootName(JavaType rootType, MapperConfig<?> config)
    • findRootName

      public PropertyName findRootName(Class<?> rootType, MapperConfig<?> config)
    • readResolve

      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)