|
|||||||||||
| 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 to the registered MBean. |
MBeanNotificationInfo[] |
getNotificationInfo()
Returns the name of the java class of the notification and the notification types sent. |
void |
removeNotificationListener(NotificationListener listener)
Removes a listener. |
void |
sendNotification(Notification n)
|
| 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)
NotificationBroadcaster
addNotificationListener in interface NotificationBroadcasterlistener - The listener that will handle the notifications emitted
by the registered MBean.filter - The NotificationFilter to use.handback - The object to be sent back to the listener.
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
NotificationBroadcaster
removeNotificationListener in interface NotificationBroadcasterlistener - The NotificationListener
ListenerNotFoundException - If no such listener exists.public MBeanNotificationInfo[] getNotificationInfo()
NotificationBroadcaster
getNotificationInfo in interface NotificationBroadcasterpublic void sendNotification(Notification n)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||