Class SimpleService

java.lang.Object
org.wildfly.clustering.server.service.SimpleService
All Implemented Interfaces:
Service

public class SimpleService extends Object implements Service
A simple service with no lifecycle behavior.
Author:
Paul Ferraro
  • Constructor Details

    • SimpleService

      public SimpleService()
      Creates a simple service
  • Method Details

    • isStarted

      public boolean isStarted()
      Description copied from interface: Service
      Indicates whether or not this service is started.
      Specified by:
      isStarted in interface Service
      Returns:
      true, if this service is started, false otherwise
    • start

      public void start()
      Description copied from interface: Service
      Starts this service.
      Specified by:
      start in interface Service
    • stop

      public void stop()
      Description copied from interface: Service
      Stops this service.
      Specified by:
      stop in interface Service