org.springframework.context.event
Interface ApplicationEventMulticaster

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

public interface ApplicationEventMulticaster
extends ApplicationListener

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

Author:
Rod Johnson

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

Method Detail

addApplicationListener

public void addApplicationListener(ApplicationListener listener)
Add a listener to be notified of all events

Parameters:
listener - listener to add

removeApplicationListener

public void removeApplicationListener(ApplicationListener listener)
Remove a listener in the notification list]

Parameters:
listener - 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.



Copyright (C) 2003-2004 The Spring Framework Project.