org.jims.client.manager.core
Class ClusterContentReader

java.lang.Object
  extended by org.jims.client.manager.core.ClusterContentReader
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener

public class ClusterContentReader
extends java.lang.Object
implements javax.management.NotificationListener

Version:
$Id: ClusterContentReader.java 1163 2006-02-15 15:36:35Z bombel kbalos $
Author:
Leszek Wasilewski, Krzysztof Wojtas

Constructor Summary
ClusterContentReader(ClusterModel p_model)
           
 
Method Summary
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 java.util.HashMap readWorkerNodes()
           
 java.util.HashMap reReadWorkerNodes(java.util.HashMap p_wns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterContentReader

public ClusterContentReader(ClusterModel p_model)
                     throws CommunicationException
Throws:
CommunicationException
Method Detail

readWorkerNodes

public java.util.HashMap readWorkerNodes()
                                  throws CommunicationException,
                                         java.lang.RuntimeException,
                                         java.io.IOException
Returns:
hashmap with mapped names (IP:Port) to the JMX RMI connector address
Throws:
CommunicationException
java.lang.RuntimeException
java.io.IOException

reReadWorkerNodes

public java.util.HashMap reReadWorkerNodes(java.util.HashMap p_wns)

handleNotification

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


Copyright ? 2007. All Rights Reserved.