Class DaemonLoader.Context
- java.lang.Object
-
- org.apache.commons.daemon.support.DaemonLoader.Context
-
- All Implemented Interfaces:
DaemonContext
- Enclosing class:
- DaemonLoader
public static class DaemonLoader.Context extends java.lang.Object implements DaemonContext
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getArguments()Returns an array ofStringarguments supplied by the environment.DaemonControllergetController()ReturnsDaemonControllerobject that can be used to control theDaemoninstance that thisDaemonContextis passed to.voidsetArguments(java.lang.String[] args)voidsetController(DaemonController controller)
-
-
-
Method Detail
-
getController
public DaemonController getController()
Description copied from interface:DaemonContextReturnsDaemonControllerobject that can be used to control theDaemoninstance that thisDaemonContextis passed to.- Specified by:
getControllerin interfaceDaemonContext
-
setController
public void setController(DaemonController controller)
-
getArguments
public java.lang.String[] 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
public void setArguments(java.lang.String[] args)
-
-