com.adventnet.adaptors.rmi
Class RemoteNotificationListenerImpl
java.lang.Object
|
+--com.adventnet.adaptors.rmi.RemoteNotificationListenerImpl
- All Implemented Interfaces:
- java.rmi.Remote, RemoteNotificationListener
- public class RemoteNotificationListenerImpl
- extends java.lang.Object
- implements RemoteNotificationListener
this class acts as a wrapper for the notificationlistener implementation and
will be used for propogating the notifications to the client side of the rmi
environment.
Method Summary |
void |
handleNotification(Notification notification,
java.lang.Object handback)
Implementation of the RemoteNotificationListener interface
Invoked when an remote JMX notification occurs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifListener
public NotificationListener notifListener
- The NotificationListener object that is registered for listening to
Notifications.
RemoteNotificationListenerImpl
public RemoteNotificationListenerImpl()
- Default Constructor.
RemoteNotificationListenerImpl
public RemoteNotificationListenerImpl(NotificationListener notifListener)
- Constructor that takes the NotificationListener instance that this
RemoteNotificationListener would represent on the client side.
- Parameters:
notifListener
- NotificationListener instance
handleNotification
public void handleNotification(Notification notification,
java.lang.Object handback)
throws java.rmi.RemoteException
- Implementation of the RemoteNotificationListener interface
Invoked when an remote JMX notification occurs.
- Specified by:
handleNotification
in interface RemoteNotificationListener
- 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.- Throws:
RemoteException
- wraps any exception that may occur when
trying to propogate this exception to the Remote Client.
Copyright ©2003 XMOJO.org. All Rights Reserved.