org.apache.velocity.util.introspection
Interface IntrospectorCacheListener

All Known Implementing Classes:
Introspector, IntrospectorBase, SecureIntrospectorImpl

public interface IntrospectorCacheListener

Interface to implement for listeners to the internal Introspector cache.

Version:
$Id: IntrospectorCacheListener.java 476951 2006-11-19 22:22:43Z henning $
Author:
Henning P. Schmiedehausen

Method Summary
 void triggerClear()
          Gets called when the Cache is cleared.
 void triggerGet(Class c, ClassMap classMap)
          Gets called when a ClassMap is requested from the Cache.
 void triggerPut(Class c, ClassMap classMap)
          Gets called when a ClassMap is put into the Cache.
 

Method Detail

triggerClear

void triggerClear()
Gets called when the Cache is cleared.


triggerGet

void triggerGet(Class c,
                ClassMap classMap)
Gets called when a ClassMap is requested from the Cache.

Parameters:
c - The class object to look up.
classMap - The Class map to return. Might be null.

triggerPut

void triggerPut(Class c,
                ClassMap classMap)
Gets called when a ClassMap is put into the Cache.

Parameters:
c - The class object to look up.
classMap - The Class map stored in the Cache. Is never null.


Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.