org.apache.beehive.controls.runtime.bean
Class EventNotifier

Object
  extended by EventNotifier
All Implemented Interfaces:
Serializable

public class EventNotifier
extends Object
implements Serializable

The EventNotifier class provides basic callback listener management and event delivery services for ControlBean instances.

See Also:
Serialized Form

Constructor Summary
EventNotifier()
           
 
Method Summary
 void addListener(Object listener)
          Adds a new callback event listener for this EventNotifier
 Object getListener()
          Returns the listener associated with this EventNotifier
 void removeListener(Object listener)
          Remove an existing callback event listener for this EventNotifier
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventNotifier

public EventNotifier()
Method Detail

addListener

public void addListener(Object listener)
                 throws TooManyListenersException
Adds a new callback event listener for this EventNotifier

Throws:
TooManyListenersException

removeListener

public void removeListener(Object listener)
Remove an existing callback event listener for this EventNotifier


getListener

public Object getListener()
Returns the listener associated with this EventNotifier