mx4j.tools.connector.rmi

Class RemoteNotificationListenerSupport

Implemented Interfaces:
javax.management.NotificationListener, Serializable
Known Direct Subclasses:
JRMPRemoteNotificationListenerSupport

public abstract class RemoteNotificationListenerSupport
extends java.lang.Object
implements javax.management.NotificationListener, Serializable

This class is serialized from client to the server, and forwards calls to remote listener.

It shadows the fact that the listener is an RMI remote object.

Version:
$Revision: 1.3 $

Constructor Summary

RemoteNotificationListenerSupport(javax.management.NotificationListener clientListener)

Method Summary

boolean
equals(Object obj)
protected void
export()
protected mx4j.tools.connector.rmi.RemoteNotificationListener
getRemoteNotificationListener()
void
handleNotification(javax.management.Notification notification, Object handback)
int
hashCode()
protected void
unexport()

Constructor Details

RemoteNotificationListenerSupport

public RemoteNotificationListenerSupport(javax.management.NotificationListener clientListener)

Method Details

equals

public boolean equals(Object obj)


export

protected void export()
            throws RemoteException


getRemoteNotificationListener

protected mx4j.tools.connector.rmi.RemoteNotificationListener getRemoteNotificationListener()


handleNotification

public final void handleNotification(javax.management.Notification notification,
                                     Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener


hashCode

public int hashCode()


unexport

protected void unexport()
            throws NoSuchObjectException


Copyright © 2001-2003 MX4J Team. All Rights Reserved.