|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.util.introspection.IntrospectorCacheImpl
public final class IntrospectorCacheImpl
This is the internal introspector cache implementation.
Field Summary | |
---|---|
static String |
CACHEDUMP_MSG
define a public string so that it can be looked for if interested |
Constructor Summary | |
---|---|
IntrospectorCacheImpl(Log log)
C'tor |
Method Summary | |
---|---|
void |
clear()
Clears the internal cache. |
ClassMap |
get(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CACHEDUMP_MSG
Constructor Detail |
---|
public IntrospectorCacheImpl(Log log)
Method Detail |
---|
public void clear()
clear
in interface IntrospectorCache
public ClassMap get(Class c)
get
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |