org.jboss.ha.framework.server.spi
Interface ManagedDistributedState

All Superinterfaces:
org.jboss.ha.framework.interfaces.DistributedState

public interface ManagedDistributedState
extends org.jboss.ha.framework.interfaces.DistributedState

DistributedState subinterface that exposes lifecycle methods to allow its owning HAPartition to control it.

Author:
Brian Stansberry

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.ha.framework.interfaces.DistributedState
org.jboss.ha.framework.interfaces.DistributedState.DSListener, org.jboss.ha.framework.interfaces.DistributedState.DSListenerEx
 
Method Summary
 void createService()
          Create the service
 void destroyService()
          Destroy the service
 void startService()
          Start the service
 void stopService()
          Stop the service
 
Methods inherited from interface org.jboss.ha.framework.interfaces.DistributedState
get, getAllCategories, getAllKeys, getAllValues, registerDSListener, registerDSListenerEx, remove, remove, set, set, unregisterDSListener, unregisterDSListenerEx
 

Method Detail

createService

void createService()
                   throws Exception
Create the service

Throws:
Exception

startService

void startService()
                  throws Exception
Start the service

Throws:
Exception

stopService

void stopService()
                 throws Exception
Stop the service

Throws:
Exception

destroyService

void destroyService()
                    throws Exception
Destroy the service

Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.