org.jboss.ha.singleton
Interface HASingleton

All Known Implementing Classes:
HASingletonSupport (src)

public interface HASingleton

Basic interface for clustered singleton services


Method Summary
 void startSingleton()
          Invoked when this mbean is elected to run the singleton service, or in other words when this node is elected for master.
 void stopSingleton()
          Invoked when this mbean is elected to no longer run the singleton service, or in other words when this node is elected for slave.
 

Method Detail

startSingleton

public void startSingleton()
Invoked when this mbean is elected to run the singleton service, or in other words when this node is elected for master.


stopSingleton

public void stopSingleton()
Invoked when this mbean is elected to no longer run the singleton service, or in other words when this node is elected for slave.