public final class DaemonLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DaemonLoader.Context |
static class |
DaemonLoader.Controller |
Modifier and Type | Field and 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 and Description |
---|
DaemonLoader() |
Modifier and Type | Method and 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() |
private static DaemonLoader.Controller controller
private static java.lang.Object daemon
private static java.lang.reflect.Method init
private static java.lang.reflect.Method start
private static java.lang.reflect.Method stop
private static java.lang.reflect.Method destroy
private static java.lang.reflect.Method signal
public static void version()
public static boolean check(java.lang.String cn)
public static boolean signal()
public static boolean load(java.lang.String className, java.lang.String[] args)
public static boolean start()
public static boolean stop()
public static boolean destroy()
private static void shutdown(boolean reload)
private static void failed(java.lang.String message)