com.interface21.context
Interface ApplicationEventMulticaster

All Superinterfaces:
ApplicationListener, java.util.EventListener
All Known Implementing Classes:
ApplicationEventMulticasterImpl

public interface ApplicationEventMulticaster
extends ApplicationListener

Subclass of ApplicationListener to be implemented by listeners that can broadcast events to other listeners.

Author:
Rod Johnson

Method Summary
 void addApplicationListener(ApplicationListener l)
          Add a listener to be notified of all events
 void removeAllListeners()
          Remove all listeners registered with this multicaster.
 void removeApplicationListener(ApplicationListener l)
          Remove a listener in the notification list]
 
Methods inherited from interface com.interface21.context.ApplicationListener
onApplicationEvent
 

Method Detail

addApplicationListener

public void addApplicationListener(ApplicationListener l)
Add a listener to be notified of all events
Parameters:
l - listener to add

removeApplicationListener

public void removeApplicationListener(ApplicationListener l)
Remove a listener in the notification list]
Parameters:
l - listener to remove

removeAllListeners

public void removeAllListeners()
Remove all listeners registered with this multicaster. It will perform no action on event notification until more listeners are registered.


Rod Johnson and Spring contributors 2001-2003.