| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationEventMulticaster
Interface to be implemented by objects that can manage a number of ApplicationListeners, and publish events to them. An example of such an object is an ApplicationEventPublisher, typically the ApplicationContext, which can use an ApplicationEventMulticaster as a helper to publish events to listeners.
| Method Summary | |
|---|---|
|  void | addApplicationListener(ApplicationListener listener)Add a listener to be notified of all events. | 
|  void | multicastEvent(ApplicationEvent event)Multicast the given application event to appropriate listeners. | 
|  void | removeAllListeners()Remove all listeners registered with this multicaster. | 
|  void | removeApplicationListener(ApplicationListener listener)Remove a listener from the notification list. | 
| Method Detail | 
|---|
void addApplicationListener(ApplicationListener listener)
listener - the listener to addvoid removeApplicationListener(ApplicationListener listener)
listener - the listener to removevoid removeAllListeners()
void multicastEvent(ApplicationEvent event)
event - the event to multicast| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||