| javax.management.NotificationListener
All known Subclasses: javax.management.relation.RelationService,
NotificationListener | public interface NotificationListener extends java.util.EventListener(Code) | | Should be implemented by an object that wants to receive notifications.
since: 1.5 |
Method Summary | |
public void | handleNotification(Notification notification, Object handback) Invoked when a JMX notification occurs.
The implementation of this method should return as soon as possible, to avoid
blocking its notification broadcaster.
Parameters: notification - The notification. Parameters: handback - An opaque object which helps the listener to associate informationregarding the MBean emitter. |
handleNotification | public void handleNotification(Notification notification, Object handback)(Code) | | Invoked when a JMX notification occurs.
The implementation of this method should return as soon as possible, to avoid
blocking its notification broadcaster.
Parameters: notification - The notification. Parameters: handback - An opaque object which helps the listener to associate informationregarding the MBean emitter. This object is passed to the MBean during theaddListener call and resent, without modification, to the listener. The MBean objectshould not use or modify the object. |
|
|