|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.management.NotificationBroadcasterSupport
| Constructor Summary | |
NotificationBroadcasterSupport()
|
|
| Method Summary | |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
Adds a listener. |
MBeanNotificationInfo[] |
getNotificationInfo()
Returns a NotificationInfo object contaning the name of the Java class of the notification and the notification types sent. |
void |
removeNotificationListener(NotificationListener listener)
Removes a listener. |
void |
sendNotification(Notification notification)
Sends a notification. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NotificationBroadcasterSupport()
| Method Detail |
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
addNotificationListener in interface NotificationBroadcasterlistener - The listener to receive notifications.filter - The filter object. If filter is null,
no filtering will be performed before handling notifications.handback - An opaque object to be sent back to the listener when a notification
is emitted. This object cannot be used by the Notification broadcaster object.
It should be resent unchanged with the notification to the listener.
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
removeNotificationListener in interface NotificationBroadcasterlistener - the listener to receive notifications.
ListenerNotFoundExceptionpublic MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterpublic void sendNotification(Notification notification)
notification -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||