Class ServiceControllerService
java.lang.Object
org.wildfly.clustering.singleton.server.ServiceControllerService
- All Implemented Interfaces:
org.wildfly.clustering.server.manager.Service
public class ServiceControllerService
extends Object
implements org.wildfly.clustering.server.manager.Service
Starts/stops a given
ServiceController.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionServiceControllerService(org.jboss.msc.service.ServiceController<?> controller) -
Method Summary
-
Constructor Details
-
ServiceControllerService
public ServiceControllerService(org.jboss.msc.service.ServiceController<?> controller)
-
-
Method Details
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceorg.wildfly.clustering.server.manager.Service
-
start
public void start()- Specified by:
startin interfaceorg.wildfly.clustering.server.manager.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.wildfly.clustering.server.manager.Service
-