org.jboss.ha.framework.interfaces
Interface HASingletonLifecycle

All Known Subinterfaces:
HASingleton<E>
All Known Implementing Classes:
HASingletonImpl

public interface HASingletonLifecycle

Basic interface for clustered singleton services

Version:
$Revision: 76669 $
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.