Class DaemonLoader


  • public final class DaemonLoader
    extends java.lang.Object
    Used by jsvc for Daemon management.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static DaemonLoader.Controller controller  
      private static java.lang.Object daemon  
      private static java.lang.reflect.Method destroy  
      private static java.lang.reflect.Method init  
      private static java.lang.reflect.Method signal  
      private static java.lang.reflect.Method start  
      private static java.lang.reflect.Method stop  
    • Constructor Summary

      Constructors 
      Constructor Description
      DaemonLoader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean check​(java.lang.String cn)  
      static boolean destroy()  
      private static void failed​(java.lang.String message)  
      static boolean load​(java.lang.String className, java.lang.String[] args)  
      private static void shutdown​(boolean reload)  
      static boolean signal()  
      static boolean start()  
      static boolean stop()  
      static void version()  
      • Methods inherited from class java.lang.Object

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

      • daemon

        private static java.lang.Object daemon
      • init

        private static java.lang.reflect.Method init
      • start

        private static java.lang.reflect.Method start
      • stop

        private static java.lang.reflect.Method stop
      • destroy

        private static java.lang.reflect.Method destroy
      • signal

        private static java.lang.reflect.Method signal
    • Constructor Detail

      • DaemonLoader

        public DaemonLoader()
    • Method Detail

      • version

        public static void version()
      • check

        public static boolean check​(java.lang.String cn)
      • signal

        public static boolean signal()
      • load

        public static boolean load​(java.lang.String className,
                                   java.lang.String[] args)
      • start

        public static boolean start()
      • stop

        public static boolean stop()
      • destroy

        public static boolean destroy()
      • shutdown

        private static void shutdown​(boolean reload)
      • failed

        private static void failed​(java.lang.String message)