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 ofStringarguments supplied by the environment.ReturnsDaemonControllerobject that can be used to control theDaemoninstance that thisDaemonContextis passed to.voidsetArguments(String[] args) voidsetController(DaemonController controller)
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
getController
Description copied from interface:DaemonContextReturnsDaemonControllerobject that can be used to control theDaemoninstance that thisDaemonContextis passed to.- Specified by:
getControllerin interfaceDaemonContext
-
setController
-
getArguments
Description copied from interface:DaemonContextReturns an array ofStringarguments 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:
getArgumentsin interfaceDaemonContext
-
setArguments
-