public interface InvalidationEventHub
InvalidationListener
s. There are multiple
event hub services implementing this interface, each with a specific marker annotation; each can register listeners
and fire events; these are based on the type of resource that has been invalidated. Tapestry has built-in support
for:
ComponentMessages
marker annotation
ComponentTemplates
marker annotation
ComponentClasses
marker annotation
Modifier and Type | Method and Description |
---|---|
void |
addInvalidationCallback(Runnable callback)
Adds a callback that is invoked when an underlying tracked resource has changed.
|
void |
addInvalidationListener(InvalidationListener listener)
Deprecated.
in 5.4, use
addInvalidationCallback(Runnable) instead} |
void |
clearOnInvalidation(Map<?,?> map)
Adds a callback that clears the map.
|
void addInvalidationListener(InvalidationListener listener)
addInvalidationCallback(Runnable)
instead}void addInvalidationCallback(Runnable callback)
void clearOnInvalidation(Map<?,?> map)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.