|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.NotificationBroadcasterSupport org.objectweb.jonas.management.ReconfigDispatcher org.objectweb.jonas.service.AbsServiceImpl org.objectweb.jonas.ha.HaServiceImpl
This class binds the HA service to Jonas and initializes the HA architecture
Field Summary |
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
HaServiceImpl()
|
Method Summary | |
void |
doInit(javax.naming.Context ctx)
Abstract initialization method to be implemented by sub-classes |
void |
doStart()
Abstract start-up method to be implemented by sub-classes |
void |
doStop()
Abstract method for service stopping to be implemented by sub-classes |
java.lang.String |
getName()
Returns the service's name |
org.objectweb.carol.cmi.ha.ReplicationManager |
getReplicationManager()
Return the replication manager |
boolean |
isStarted()
Returns true if the service is started, false otherwise |
void |
setName(java.lang.String name)
Set the service's name |
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl |
getDomainName, getJonasServerName, init, start, stop |
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.service.Service |
init, start, stop |
Constructor Detail |
public HaServiceImpl()
Method Detail |
public void doInit(javax.naming.Context ctx) throws ServiceException
AbsServiceImpl
doInit
in class AbsServiceImpl
ctx
- configuration of the service
ServiceException
- service initialization failedpublic void doStart() throws ServiceException
AbsServiceImpl
doStart
in class AbsServiceImpl
ServiceException
- service start-up failedpublic void doStop() throws ServiceException
AbsServiceImpl
doStop
in class AbsServiceImpl
ServiceException
- service stopping failedpublic boolean isStarted()
AbsServiceImpl
isStarted
in interface Service
isStarted
in class AbsServiceImpl
public void setName(java.lang.String name)
Service
setName
in interface Service
setName
in class AbsServiceImpl
name
- the name to setpublic java.lang.String getName()
AbsServiceImpl
getName
in interface Service
getName
in class AbsServiceImpl
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 |