com.adventnet.adaptors.rmi
Class MyNotificationListener

java.lang.Object
  extended by com.adventnet.adaptors.rmi.MyNotificationListener
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener

 class MyNotificationListener
extends java.lang.Object
implements javax.management.NotificationListener


Field Summary
(package private)  RemoteNotificationListener nl
           
 
Constructor Summary
MyNotificationListener(RemoteNotificationListener nl)
           
 
Method Summary
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
          Invoked when an JMX notification occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nl

RemoteNotificationListener nl
Constructor Detail

MyNotificationListener

MyNotificationListener(RemoteNotificationListener nl)
Method Detail

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Invoked when an JMX notification occurs.

Specified by:
handleNotification in interface javax.management.NotificationListener
Parameters:
notification - - The notification.
handback - - An opaque object which helps the listener to associate information regarding the MBean emitter. This object was passed to the MBean during the addListener call and resend, without modification, to the listener. The MBean object should to use or modify the object.