Class DaemonLoader.Context
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader.Context
- All Implemented Interfaces:
DaemonContext
- Enclosing class:
- DaemonLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
void
setArguments
(String[] args) void
setController
(DaemonController controller)
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
getController
- Specified by:
getController
in interfaceDaemonContext
- Returns:
- A
DaemonController
object that can be used to control theDaemon
instance that thisDaemonContext
is passed to.
-
setController
-
getArguments
- Specified by:
getArguments
in interfaceDaemonContext
- Returns:
- An array of
String
arguments supplied by the environment corresponding to the array of arguments given in thepublic static void main()
method used as an entry point to most other Java programs.
-
setArguments
-