Class JsvcDaemon

  • All Implemented Interfaces:
    org.apache.commons.daemon.Daemon

    public class JsvcDaemon
    extends java.lang.Object
    implements org.apache.commons.daemon.Daemon
    Start and Stop Aspectran Daemon using Jsvc.

    Created: 2017. 12. 11.

    Since:
    5.1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      JsvcDaemon()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void init​(org.apache.commons.daemon.DaemonContext daemonContext)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsvcDaemon

        public JsvcDaemon()
    • Method Detail

      • init

        public void init​(org.apache.commons.daemon.DaemonContext daemonContext)
                  throws java.lang.Exception
        Specified by:
        init in interface org.apache.commons.daemon.Daemon
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Specified by:
        start in interface org.apache.commons.daemon.Daemon
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Specified by:
        stop in interface org.apache.commons.daemon.Daemon
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.commons.daemon.Daemon