freemarker.template
Class CacheEvent
java.lang.Object
|
+--java.util.EventObject
|
+--freemarker.template.CacheEvent
- public class CacheEvent
- extends java.util.EventObject
An event fired by self-updating caches.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CacheEvent(java.lang.Object source)
|
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
CacheEvent
public CacheEvent(java.lang.Object source)
setException
public void setException(java.lang.Exception exception)
- Parameters:
exception
- an Exception associated with this event.
getException
public java.lang.Exception getException()
- Returns:
- the Exception, if any, associated with this
event.
setElementName
public void setElementName(java.lang.String elementName)
- Parameters:
elementName
- the name of the cache element associated with this event.
getElementName
public java.lang.String getElementName()
- Returns:
- the name of the cache element, if any, associated with this
event.