Class DecoratedService

java.lang.Object
org.wildfly.clustering.server.service.DecoratedService
All Implemented Interfaces:
Service
Direct Known Subclasses:
DecoratedManager, DecoratedSchedulerService

public class DecoratedService extends Object implements Service
A Service decorator.
Author:
Paul Ferraro
  • Constructor Details

    • DecoratedService

      public DecoratedService(Service service)
      Creates a decorator of the specified service.
      Parameters:
      service - the decorated 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