| javax.management.NotificationBroadcaster
NotificationBroadcaster | abstract public interface NotificationBroadcaster (Code) | | Should be implemented by an MBean that emits Notifications. It allows a
listener to be registered within the MBean as notification listener.
|
addNotificationListener | public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException(Code) | | Enables a couple (listener,handback) for a registered MBean to be added.
Parameters: listener - The listener object which will handles notificationsemitted by the registered MBean. Parameters: filter - The filter object. If not specified, no filtering will beperformed before handling notifications. Parameters: handback - The context to be sent to the listener when anotification is emitted. throws: java.lang.IllegalArgumentException - Listener parameter is null. |
getNotificationInfo | public MBeanNotificationInfo[] getNotificationInfo()(Code) | | Returns a NotificationInfo object containing the name of the Java class
of the notification and the notification types sent.
This returns a array of MBeanNotificationInfo whichcontains the notification information |
removeNotificationListener | public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code) | | Enables a listener for an MBean to be removed. All couple
(listener, handback) are removed.
Parameters: listener - The listener object which will handles notificationsemitted by the registered MBean. throws: ListenerNotFoundException - The listener is not registered in the MBean. |
|
|