public final class DaemonLoader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DaemonLoader.Context
A concrete
DaemonContext that acts as a simple value container. |
static class |
DaemonLoader.Controller
A DaemonController that acts on the the global
DaemonLoader state. |
| Constructor and Description |
|---|
DaemonLoader()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(String className)
Checks whether the given class name can be instantiated with a zero-argument constructor.
|
static boolean |
destroy()
Invokes the wrapped
destroy method. |
static boolean |
load(String className,
String[] args)
Loads the given class by name, initializing wrapper methods.
|
static boolean |
signal()
Invokes the wrapped
signal method. |
static boolean |
start()
Invokes the wrapped
start method. |
static boolean |
stop()
Invokes the wrapped
stop method. |
static void |
version()
Prints version information to
System.err. |
public DaemonLoader()
public static void version()
System.err.public static boolean check(String className)
className - The class name.public static boolean signal()
signal method.public static boolean load(String className, String[] args)
className - The class name to load.args - arguments for the context.public static boolean start()
start method.public static boolean stop()
stop method.public static boolean destroy()
destroy method.Copyright © 2002-2025 The Apache Software Foundation. All rights reserved.Apache Commons Daemon | Issue management | Source repository