|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.daemon.support.DaemonLoader.Context
public static class DaemonLoader.Context
Constructor Summary | |
---|---|
DaemonLoader.Context()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DaemonLoader.Context()
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |