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 Details

    • ServiceControllerService

      public ServiceControllerService(org.jboss.msc.service.ServiceController<?> controller)
  • Method Details

    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface org.wildfly.clustering.server.manager.Service
    • start

      public void start()
      Specified by:
      start in interface org.wildfly.clustering.server.manager.Service
    • stop

      public void stop()
      Specified by:
      stop in interface org.wildfly.clustering.server.manager.Service