|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.agent.SCAdminBase
Field Summary | |
protected A3CMLConfig |
a3config
|
protected org.objectweb.util.monolog.api.Logger |
logmon
|
protected SCAdminHelper |
scadmin
|
Constructor Summary | |
SCAdminBase()
|
|
SCAdminBase(java.lang.String path)
|
Method Summary | |
void |
crashAgentServer(short sid)
Stops violently an agent server from its id. |
int |
exitValue(short sid)
Ask for the exit value of an agent server. |
int |
joinAgentServer(short sid)
Causes the current thread to wait, if necessary, until the process running this agent server has terminated. |
void |
killAgentServer(short sid)
Kills this agent server process. |
java.lang.String |
startAgentServer(short sid)
Starts an agent server from its id. |
java.lang.String |
startAgentServer(short sid,
java.io.File dir)
|
java.lang.String |
startAgentServer(short sid,
java.io.File dir,
java.lang.String[] jvmargs)
|
java.lang.String |
startAgentServer(short sid,
java.io.File dir,
java.lang.String[] jvmargs,
java.lang.String[] servargs)
|
void |
stopAgentServer(short sid)
Stops cleanly an agent server from its id. |
void |
update()
Updates the configuration. |
void |
update(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected A3CMLConfig a3config
protected org.objectweb.util.monolog.api.Logger logmon
protected SCAdminHelper scadmin
Constructor Detail |
public SCAdminBase()
public SCAdminBase(java.lang.String path) throws java.lang.Exception
Method Detail |
public java.lang.String startAgentServer(short sid) throws java.lang.Exception
sid
- id of agent server to start
java.lang.Exception
public java.lang.String startAgentServer(short sid, java.io.File dir) throws java.lang.Exception
java.lang.Exception
public java.lang.String startAgentServer(short sid, java.io.File dir, java.lang.String[] jvmargs) throws java.lang.Exception
java.lang.Exception
public java.lang.String startAgentServer(short sid, java.io.File dir, java.lang.String[] jvmargs, java.lang.String[] servargs) throws java.lang.Exception
java.lang.Exception
public void killAgentServer(short sid) throws java.lang.Exception
sid
- id of agent server to stop
java.lang.Exception
public int joinAgentServer(short sid) throws java.lang.Exception
sid
- id of agent server to stop
UnknownServerException
- if the agent server is unknown.
java.lang.Exception
public int exitValue(short sid) throws java.lang.IllegalThreadStateException, UnknownServerException
sid
- id of agent server to stop
java.lang.IllegalThreadStateException
- if the agent server is still running.
UnknownServerException
- if the agent server is unknown.public void stopAgentServer(short sid) throws java.lang.Exception
sid
- id of agent server to stop
java.lang.Exception
public void crashAgentServer(short sid) throws java.lang.Exception
sid
- id of agent server to stop
java.lang.Exception
public void update() throws java.lang.Exception
java.lang.Exception
public void update(java.lang.String path) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |