Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha » singleton » [javadoc | source]
org.jboss.ha.singleton
public interface: HASingleton [javadoc | source]

All Known Implementing Classes:
    HASingletonControllerTester, HASingletonController, HASingletonSupport, HASingletonSupportTester

Basic interface for clustered singleton services
Method from org.jboss.ha.singleton.HASingleton Summary:
startSingleton,   stopSingleton
Method from org.jboss.ha.singleton.HASingleton Detail:
 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.
 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.