|
||||||||||
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(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Adds a listener to the registered MBean. |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
Returns the name of the java class of the notification and the notification types sent. |
void |
removeNotificationListener(javax.management.NotificationListener listener)
Removes a listener. |
Method Detail |
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
public void addNotificationListener(javax.management.NotificationListener listener, javax.management.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(javax.management.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 |