public interface IObservationContext<T extends IObservable>
extends org.apache.wicket.util.io.IClusterable
Modifier and Type | Method and Description |
---|---|
void |
notifyObservers(EventCollection<IEvent<T>> events)
Notify observers of events that pertain to an observable.
|
void |
registerObserver(IObserver<?> observer)
Register an observer.
|
void |
unregisterObserver(IObserver<?> observer)
Unregister an observer.
|
void notifyObservers(EventCollection<IEvent<T>> events)
Implementations should minimize the number of calls to this method, as all observers will be notified.
events
- The events to be dispatched to observersvoid registerObserver(IObserver<?> observer)
observer
- void unregisterObserver(IObserver<?> observer)
observer
- Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.