| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.util.introspection.IntrospectorCacheImpl
public final class IntrospectorCacheImpl
This is the internal introspector cache implementation.
| Constructor Summary | |
|---|---|
| IntrospectorCacheImpl(Log log)C'tor | |
| Method Summary | |
|---|---|
|  void | addListener(IntrospectorCacheListener listener)Register a Cache listener. | 
|  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. | 
|  void | removeListener(IntrospectorCacheListener listener)Remove a Cache listener. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IntrospectorCacheImpl(Log log)
| Method Detail | 
|---|
public void clear()
clear in interface IntrospectorCachepublic ClassMap get(Class c)
get in interface IntrospectorCachec - The class to look up.
public ClassMap put(Class c)
put in interface IntrospectorCachec - The class for which the class map gets generated.
public void addListener(IntrospectorCacheListener listener)
addListener in interface IntrospectorCachelistener - A Cache listener object.public void removeListener(IntrospectorCacheListener listener)
removeListener in interface IntrospectorCachelistener - A Cache listener object.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||