|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface must be implemented by all MBeans that emit notifications.
New code should implement the NotificationEmitter interface
NotificationListener (src) ,
NotificationFilter (src) ,
NotificationEmitter (src) | Method Summary | |
void |
addNotificationListener(NotificationListener (src) listener,
NotificationFilter (src) filter,
java.lang.Object handback)
Add a listener to an MBean. |
MBeanNotificationInfo (src) [] |
getNotificationInfo()
Returns the notification metadata associated with the MBean. |
void |
removeNotificationListener(NotificationListener (src) listener)
Removes a listener from an MBean. |
| Method Detail |
public void addNotificationListener(NotificationListener (src) listener,
NotificationFilter (src) filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
listener - implementation of the listener objectfilter - implementation of the filter object or null
if no filtering is requiredhandback - A handback object associated with each notification
sent by this notification broadcaster.
java.lang.IllegalArgumentException - if listener is null
public void removeNotificationListener(NotificationListener (src) listener)
throws ListenerNotFoundException (src)
listener - the listener object to remove
ListenerNotFoundException (src) - if the listener was not foundpublic MBeanNotificationInfo (src) [] getNotificationInfo()
MBeanNotificationInfo (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||