Class DaemonLoader
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A concreteDaemonContext
that acts as a simple value container.static class
A DaemonController that acts on the the globalDaemonLoader
state. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks whether the given class name can be instantiated with a zero-argument constructor.static boolean
destroy()
Invokes the wrappeddestroy
method.static boolean
Loads the given class by name, initializing wrapper methods.static boolean
signal()
Invokes the wrappedsignal
method.static boolean
start()
Invokes the wrappedstart
method.static boolean
stop()
Invokes the wrappedstop
method.static void
version()
Prints version information toSystem.err
.
-
Constructor Details
-
DaemonLoader
public DaemonLoader()
-
-
Method Details
-
version
Prints version information toSystem.err
. -
check
-
signal
Invokes the wrappedsignal
method.- Returns:
- whether the call succeeded.
-
load
-
start
Invokes the wrappedstart
method.- Returns:
- whether the call succeeded.
-
stop
-
destroy
Invokes the wrappeddestroy
method.- Returns:
- whether the call succeeded.
-