Class DaemonLoader.Context
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader.Context
- All Implemented Interfaces:
DaemonContext
- Enclosing class:
- DaemonLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns an array ofString
arguments supplied by the environment.ReturnsDaemonController
object that can be used to control theDaemon
instance that thisDaemonContext
is passed to.void
setArguments
(String[] args) void
setController
(DaemonController controller)
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
getController
Description copied from interface:DaemonContext
ReturnsDaemonController
object that can be used to control theDaemon
instance that thisDaemonContext
is passed to.- Specified by:
getController
in interfaceDaemonContext
-
setController
-
getArguments
Description copied from interface:DaemonContext
Returns an array ofString
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.- Specified by:
getArguments
in interfaceDaemonContext
-
setArguments
-