public final class IntrospectorCacheImpl extends Object implements IntrospectorCache
Modifier and Type | Field and Description |
---|---|
static String |
CACHEDUMP_MSG
define a public string so that it can be looked for if interested
|
Constructor and Description |
---|
IntrospectorCacheImpl(org.slf4j.Logger log)
C'tor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the internal cache.
|
ClassMap |
get(Class c)
Lookup a given Class object in the cache.
|
ClassFieldMap |
getFieldMap(Class c)
Lookup a given Class object in the cache.
|
ClassMap |
put(Class c)
Creates a class map for specific class and registers it in the
cache.
|
public static final String CACHEDUMP_MSG
public void clear()
clear
in interface IntrospectorCache
public ClassMap get(Class c)
get
in interface IntrospectorCache
c
- The class to look up.public ClassFieldMap getFieldMap(Class c)
getFieldMap
in interface IntrospectorCache
c
- The class to look up.public ClassMap put(Class c)
put
in interface IntrospectorCache
c
- The class for which the class map gets generated.Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.