|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateListenerHub
Manages a set of UpdateListeners. Periodically (say, every request during
development, or every minute or so during production), request processing is locked down so that only a single thread
is active, and the active thread invokes fireCheckForUpdates(). Various services that are dependent on
external resource files (such as classes or template files) can check to see if any file they've used has changed. If
so, the service can invalidate its internal cache, or notify other services (typically via InvalidationListener that they should do the same.
URLChangeTracker| Method Summary | |
|---|---|
void |
addUpdateListener(UpdateListener listener)
Adds a listener. |
void |
fireCheckForUpdates()
Invoked periodically to allow services to check if underlying state has changed. |
| Method Detail |
|---|
void addUpdateListener(UpdateListener listener)
void fireCheckForUpdates()
InvalidationEventHub) when such a change occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||