|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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 AbsServiceImplctx - configuration of the service
ServiceException - service initialization failed
public void doStart()
throws ServiceException
AbsServiceImpl
doStart in class AbsServiceImplServiceException - service start-up failed
public void doStop()
throws ServiceException
AbsServiceImpl
doStop in class AbsServiceImplServiceException - service stopping failedpublic boolean isStarted()
AbsServiceImpl
isStarted in interface ServiceisStarted in class AbsServiceImplpublic void setName(java.lang.String name)
Service
setName in interface ServicesetName in class AbsServiceImplname - the name to setpublic java.lang.String getName()
AbsServiceImpl
getName in interface ServicegetName in class AbsServiceImplpublic 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 | |||||||||