org.ourgrid.peer.fd
Class ConsumerStateNotifiable

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

public class ConsumerStateNotifiable
extends java.lang.Object
implements Notifiable


Constructor Summary
ConsumerStateNotifiable()
          Default constructor
 
Method Summary
 java.lang.String getName()
           
 void newMonitorable(ObjectID objectID)
           
 void notifyMonitorableStateChange(java.lang.String monitorableName, GenericState monitorableState)
          This method is invoked when the Grid Machine state changes.
 void removeMonitorable(ObjectID objectID)
           
 void setFacade(EBPeerManagerFacade managerFacade)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerStateNotifiable

public ConsumerStateNotifiable()
Default constructor

Method Detail

newMonitorable

public void newMonitorable(ObjectID objectID)

removeMonitorable

public void removeMonitorable(ObjectID objectID)

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)

setFacade

public void setFacade(EBPeerManagerFacade managerFacade)

getName

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