org.ourgrid.common.fd.simpletest
Class TestMainMonitorable

java.lang.Object
  extended by org.ourgrid.common.fd.simpletest.TestMainMonitorable
All Implemented Interfaces:
Notifiable

public class TestMainMonitorable
extends java.lang.Object
implements Notifiable


Field Summary
static java.lang.String monitorableBoundHostName
           
static java.lang.String monitorableBoundName
           
static int monitorableBoundPort
           
 
Constructor Summary
TestMainMonitorable()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void notifyMonitorableStateChange(java.lang.String monitorableName, GenericState monitorableState)
          This method is invoked when the Grid Machine state changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

monitorableBoundPort

public static final int monitorableBoundPort
See Also:
Constant Field Values

monitorableBoundHostName

public static final java.lang.String monitorableBoundHostName
See Also:
Constant Field Values

monitorableBoundName

public static final java.lang.String monitorableBoundName
See Also:
Constant Field Values
Constructor Detail

TestMainMonitorable

public TestMainMonitorable()
Method Detail

main

public static void main(java.lang.String[] args)

notifyMonitorableStateChange

public void notifyMonitorableStateChange(java.lang.String monitorableName,
                                         GenericState monitorableState)
Description copied from interface: Notifiable
This method is invoked when the Grid Machine state changes.

Specified by:
notifyMonitorableStateChange in interface Notifiable
Parameters:
monitorableName - The name of the Grid Machine
monitorableState - The new state

getName

public java.lang.String getName()
Specified by:
getName in interface Notifiable
Returns:
The name of the Notifiable entity.