Save This Page
Home » JBoss-5.1.0 » org.jboss.ha » singleton » [javadoc | source]
org.jboss.ha.singleton
public interface: HASingletonMBean [javadoc | source]

All Implemented Interfaces:
    HASingletonMBean, HAServiceMBean

All Known Implementing Classes:
    HASingletonControllerMBean, HASingletonController, HASingletonSupportMBean, HASingletonControllerTester

HA-Singleton interface. Only one mbean is active at any point in time, cluster-wide.

The service provides a simple way for a concrete mbean to detect whether or not it is the active one in the cluster.

Concrete mbeans would usually do activities like regular clean up of database tables or saving statistics about cluster usage. Replaced by org.jboss.ha.framework.interfaces.HASingletonMBean

Field Summary
 String HASINGLETON_STARTING_NOTIFICATION    Notifications emitted locally by an HASingleton to indicate state transitions 
 String HASINGLETON_STARTED_NOTIFICATION     
 String HASINGLETON_STOPPING_NOTIFICATION     
 String HASINGLETON_STOPPED_NOTIFICATION