Class DaemonLoader

    • Constructor Detail

      • DaemonLoader

        public DaemonLoader()
        Constructs a new instance.
    • Method Detail

      • check

        public static boolean check​(String className)
        Checks whether the given class name can be instantiated with a zero-argument constructor.
        Parameters:
        className - The class name.
        Returns:
        true if the given class name can be instantiated, false otherwise.
      • signal

        public static boolean signal()
        Invokes the wrapped signal method.
        Returns:
        whether the call succeeded.
      • load

        public static boolean load​(String className,
                                   String[] args)
        Loads the given class by name, initializing wrapper methods.
        Parameters:
        className - The class name to load.
        args - arguments for the context.
        Returns:
        whether the operation succeeded.
      • start

        public static boolean start()
        Invokes the wrapped start method.
        Returns:
        whether the call succeeded.
      • stop

        public static boolean stop()
        Invokes the wrapped stop method.
        Returns:
        whether the call succeeded.
      • destroy

        public static boolean destroy()
        Invokes the wrapped destroy method.
        Returns:
        whether the call succeeded.