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
Starting in Tapestry 5.3, these services are disabled in production (it does nothing).
Modifier and Type | Method and Description |
---|---|
void |
addInvalidationListener(InvalidationListener listener)
Adds a listener, who needs to know when an underlying resource of a given category has changed (so that the
receiver may discard any cached data that may have been invalidated).
|
void addInvalidationListener(InvalidationListener listener)
Copyright © 2003-2012 The Apache Software Foundation.