|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Implemented by an MBean that emits Notification.
| 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. |
| Method Detail |
public MBeanNotificationInfo[] getNotificationInfo()
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
listener - 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.
java.lang.IllegalArgumentException - If listener is null.
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
listener - The NotificationListener
ListenerNotFoundException - If no such listener exists.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||