org.apache.commons.daemon.support
public static class DaemonLoader.Context extends java.lang.Object implements DaemonContext
Constructor and Description |
---|
DaemonLoader.Context() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getArguments()
Returns an array of
String arguments supplied by
the environment. |
DaemonController |
getController()
Returns
DaemonController object that can be used
to control the Daemon instance that this
DaemonContext is passed to. |
void |
setArguments(java.lang.String[] args) |
void |
setController(DaemonController controller) |
public DaemonController getController()
DaemonContext
DaemonController
object that can be used
to control the Daemon
instance that this
DaemonContext
is passed to.getController
in interface DaemonContext
public void setController(DaemonController controller)
public java.lang.String[] getArguments()
DaemonContext
String
arguments supplied by
the environment. corresponding to the array of arguments given
in the public static void main()
method used as an
entry point to most other java programs.getArguments
in interface DaemonContext
public void setArguments(java.lang.String[] args)
Copyright (c) 2002-2012 - Apache Software Foundation