|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.event.InvalidationEventHubImpl
public class InvalidationEventHubImpl
Base implementation class for classes (especially services) that need to manage a list of
InvalidationListeners.
| Constructor Summary | |
|---|---|
protected |
InvalidationEventHubImpl(boolean productionMode)
|
| Method Summary | |
|---|---|
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). |
protected void |
fireInvalidationEvent()
Notifies all listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected InvalidationEventHubImpl(boolean productionMode)
| Method Detail |
|---|
protected final void fireInvalidationEvent()
listeners.
public final void addInvalidationListener(InvalidationListener listener)
InvalidationEventHub
addInvalidationListener in interface InvalidationEventHub
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||