org.jboss.ha.singleton
Interface HASingleton

All Known Implementing Classes:
HASingletonController, HASingletonSupport

public interface HASingleton

Basic interface for clustered singleton services

Version:
$Revision: 1.2.8.2 $
Author:
Ivelin Ivanov

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

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

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.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.