|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.memphis.ccrg.lida.framework.initialization.AgentStarter
public class AgentStarter
This class allows an Agent
to be started in these ways using the static methods start()
1. Using the default agent properties path (a String)
2. Using a agent properties path (a String)
3. Using a Properties object created in another class (and/or project).
Or using the main method with a Agent
properties path (a String)
specified in the command line arguments.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PROPERTIES_PATH
Default configuation properties file path |
Constructor Summary | |
---|---|
AgentStarter()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts an Agent using the default properties path or the one
that is specified in the command line arguments |
static void |
start()
Attempts to start an Agent using the default properties. |
static void |
start(java.util.Properties p)
Load supplied properties |
static void |
start(java.lang.String path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PROPERTIES_PATH
Constructor Detail |
---|
public AgentStarter()
Method Detail |
---|
public static void main(java.lang.String[] args)
Agent
using the default properties path or the one
that is specified in the command line arguments
args
- the command line argumentspublic static void start(java.util.Properties p)
p
- - Properties used for the agentpublic static void start()
Agent
using the default properties.
public static void start(java.lang.String path)
path
- - Properties file path used for the agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |