| java.lang.Object org.apache.commons.modeler.BaseNotificationBroadcaster
BaseNotificationBroadcaster | public class BaseNotificationBroadcaster implements NotificationBroadcaster(Code) | | Implementation of NotificationBroadcaster for attribute
change notifications. This class is used by BaseModelMBean to
handle notifications of attribute change events to interested listeners.
author: Craig R. McClanahan author: Costin Manolache |
entries | protected ArrayList entries(Code) | | The set of registered BaseNotificationBroadcasterEntry
entries.
|
addNotificationListener | public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException(Code) | | Add a notification event listener to this MBean.
Parameters: listener - Listener that will receive event notifications Parameters: filter - Filter object used to filter event notificationsactually delivered, or null for no filtering Parameters: handback - Handback object to be sent along with eventnotifications exception: IllegalArgumentException - if the listener parameter is null |
getNotificationInfo | public MBeanNotificationInfo[] getNotificationInfo()(Code) | | Return an MBeanNotificationInfo object describing the
notifications sent by this MBean.
|
removeNotificationListener | public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code) | | Remove a notification event listener from this MBean.
Parameters: listener - The listener to be removed (any and all registrationsfor this listener will be eliminated) exception: ListenerNotFoundException - if this listener is notregistered in the MBean |
removeNotificationListener | public void removeNotificationListener(NotificationListener listener, Object handback) throws ListenerNotFoundException(Code) | | Remove a notification event listener from this MBean.
Parameters: listener - The listener to be removed (any and all registrationsfor this listener will be eliminated) Parameters: handback - Handback object to be sent along with eventnotifications exception: ListenerNotFoundException - if this listener is notregistered in the MBean |
removeNotificationListener | public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code) | | Remove a notification event listener from this MBean.
Parameters: listener - The listener to be removed (any and all registrationsfor this listener will be eliminated) Parameters: filter - Filter object used to filter event notificationsactually delivered, or null for no filtering Parameters: handback - Handback object to be sent along with eventnotifications exception: ListenerNotFoundException - if this listener is notregistered in the MBean |
sendNotification | public void sendNotification(Notification notification)(Code) | | Send the specified notification to all interested listeners.
Parameters: notification - The notification to be sent |
|
|