Class ServiceLifecycle

java.lang.Object
org.wildfly.clustering.singleton.server.ServiceLifecycle
All Implemented Interfaces:
Lifecycle

public class ServiceLifecycle extends Object implements Lifecycle
Starts/stops a given ServiceController.
Author:
Paul Ferraro
  • Constructor Details

    • ServiceLifecycle

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

    • start

      public void start()
      Description copied from interface: Lifecycle
      Start this object.
      Specified by:
      start in interface Lifecycle
    • stop

      public void stop()
      Description copied from interface: Lifecycle
      Stop this object.
      Specified by:
      stop in interface Lifecycle