Class DaemonLoader
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA concreteDaemonContextthat acts as a simple value container.static classA DaemonController that acts on the the globalDaemonLoaderstate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether the given class name can be instantiated with a zero-argument constructor.static booleandestroy()Invokes the wrappeddestroymethod.static booleanLoads the given class by name, initializing wrapper methods.static booleansignal()Invokes the wrappedsignalmethod.static booleanstart()Invokes the wrappedstartmethod.static booleanstop()Invokes the wrappedstopmethod.static voidversion()Prints version information toSystem.err.
-
Constructor Details
-
DaemonLoader
public DaemonLoader()
-
-
Method Details
-
version
Prints version information toSystem.err. -
check
-
signal
Invokes the wrappedsignalmethod.- Returns:
- whether the call succeeded.
-
load
-
start
Invokes the wrappedstartmethod.- Returns:
- whether the call succeeded.
-
stop
-
destroy
Invokes the wrappeddestroymethod.- Returns:
- whether the call succeeded.
-