|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.ha.HaServiceImpl
This class binds the HA service to Jonas and initializes the HA architecture
Constructor Summary | |
HaServiceImpl()
|
Method Summary | |
java.lang.String |
getName()
|
org.objectweb.carol.cmi.ha.ReplicationManager |
getReplicationManager()
Return the replication manager |
void |
init(javax.naming.Context ctx)
Initialize the service |
boolean |
isStarted()
|
void |
setName(java.lang.String name)
Set the service's name |
void |
start()
Start the service |
void |
stop()
Stop the service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HaServiceImpl()
Method Detail |
public void init(javax.naming.Context ctx) throws ServiceException
Service
init
in interface Service
ctx
- configuration of the service
ServiceException
- when init fails.public void start() throws ServiceException
Service
start
in interface Service
ServiceException
- when start fails.public void stop() throws ServiceException
Service
stop
in interface Service
ServiceException
- when stop fails.public boolean isStarted()
isStarted
in interface Service
public void setName(java.lang.String name)
Service
setName
in interface Service
name
- the service's namepublic java.lang.String getName()
getName
in interface Service
public org.objectweb.carol.cmi.ha.ReplicationManager getReplicationManager()
getReplicationManager
in interface HaService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |