Package org.apache.commons.daemon
Interface DaemonContext
- All Known Implementing Classes:
DaemonLoader.Context
public interface DaemonContext
Defines a set of methods that a Daemon instance can use to
communicate with the Daemon container.
- Version:
- $Id: DaemonContext.java 1204006 2011-11-19 16:09:15Z ggregory $
- Author:
- Pier Fumagalli
-
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.
-
Method Details
-
getController
DaemonController getController()ReturnsDaemonController
object that can be used to control theDaemon
instance that thisDaemonContext
is passed to. -
getArguments
String[] getArguments()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.
-