org.ourgrid.peer.fd
Class CorePeerStateNotifiable

java.lang.Object
  extended by org.ourgrid.peer.fd.CorePeerStateNotifiable
All Implemented Interfaces:
Notifiable

public class CorePeerStateNotifiable
extends java.lang.Object
implements Notifiable


Constructor Summary
CorePeerStateNotifiable()
           
 
Method Summary
 java.lang.String getName()
           
 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
 

Constructor Detail

CorePeerStateNotifiable

public CorePeerStateNotifiable()
Method Detail

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
See Also:
Notifiable.notifyMonitorableStateChange(java.lang.String, GenericState)

getName

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