Class Service

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public abstract class Service
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Service()  
    • Constructor Detail

      • Service

        protected Service()
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • restart

        public void restart()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • isRunning

        public boolean isRunning()
      • doStart

        protected abstract void doStart()
      • doStop

        protected abstract void doStop()