Package org.exoplatform.commons.cluster
Class StartableClusterService
java.lang.Object
org.exoplatform.commons.cluster.StartableClusterService
- All Implemented Interfaces:
org.picocontainer.Startable
This service allow to running a specific service (implements StartableClusterAware interface) on one cluster node.
-
Constructor Summary
ConstructorsConstructorDescriptionStartableClusterService(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.container.ExoContainerContext containerContext, org.exoplatform.commons.api.settings.SettingService settingService) -
Method Summary
-
Constructor Details
-
StartableClusterService
public StartableClusterService(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.container.ExoContainerContext containerContext, org.exoplatform.commons.api.settings.SettingService settingService)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-