mx4j.tools.heartbeat
Interface HeartBeatListenerControl

All Known Implementing Classes:
HeartBeatListener

public interface HeartBeatListenerControl

Interface to be implemented by HeartBeatListener. Adds local interface * to be used by clients monitoring status of communication. * @author Michael Gorelik

Version:
$Revision: 1.3 $

Field Summary
static java.lang.String LOST_HEARTBEAT
           
 
Method Summary
 void registerObserver(RemoteMBeanServer connector, java.lang.Object connectorType, java.lang.Object address, java.lang.String sourceCanonName, NotificationListener observer)
          Add listener to a remote heartbeat source and register application to * receive heart beat failure notification from HeartBeatListener.
 void unregisterObserver(java.lang.String sourceCanonName, NotificationListener listener)
          Removes the specified heartbeat observer.
 

Field Detail

LOST_HEARTBEAT

public static final java.lang.String LOST_HEARTBEAT
See Also:
Constant Field Values
Method Detail

registerObserver

public void registerObserver(RemoteMBeanServer connector,
                             java.lang.Object connectorType,
                             java.lang.Object address,
                             java.lang.String sourceCanonName,
                             NotificationListener observer)
                      throws MalformedObjectNameException,
                             InstanceNotFoundException,
                             MBeanException,
                             ReflectionException,
                             java.rmi.RemoteException
Add listener to a remote heartbeat source and register application to * receive heart beat failure notification from HeartBeatListener.

MalformedObjectNameException
InstanceNotFoundException
MBeanException
ReflectionException
java.rmi.RemoteException

unregisterObserver

public void unregisterObserver(java.lang.String sourceCanonName,
                               NotificationListener listener)
Removes the specified heartbeat observer.



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