public static class DaemonLoader.Context extends java.lang.Object implements DaemonContext
DaemonContext that acts as a simple value container.| Constructor and Description |
|---|
Context()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getArguments()
Gets an array of
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. |
DaemonController |
getController()
Gets a
DaemonController object that can be used to control
the Daemon instance that this DaemonContext
is passed to. |
void |
setArguments(java.lang.String[] args)
Sets arguments.
|
void |
setController(DaemonController controller)
Sets the daemon controller.
|
public DaemonController getController()
DaemonContextDaemonController object that can be used to control
the Daemon instance that this DaemonContext
is passed to.getController in interface DaemonContextDaemonController object that can be used to control
the Daemon.public void setController(DaemonController controller)
controller - the daemon controller.public java.lang.String[] getArguments()
DaemonContextString 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 DaemonContextString arguments supplied by the environment.public void setArguments(java.lang.String[] args)
args - arguments.