Class ServiceLifecycle

  • All Implemented Interfaces:
    Lifecycle

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

      • ServiceLifecycle

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

      • 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