|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.props.Props
com.cometway.ak.Agent
com.cometway.ak.StartupAgent
com.cometway.tools.StartupAgentBuilder
public class StartupAgentBuilder
This is an alternate StartupAgent which can be used with the AK -startup_agent command line option. Upon running, it scans the startup directory, and creates a source file named StaticStartupAgent.java which is hard coded to startup the agents as specified in the startup directory.
| Field Summary |
|---|
| Fields inherited from class com.cometway.ak.Agent |
|---|
agent_id, agentController, CREATING_STATE, debugReporter, DESTROYED_STATE, DESTROYING_STATE, errorReporter, FAILED_STATE, printlnReporter, props, RUNNING_STATE, STARTING_STATE, STOPPED_STATE, STOPPING_STATE, warningReporter |
| Constructor Summary | |
|---|---|
StartupAgentBuilder()
|
|
| Method Summary | |
|---|---|
void |
initProps()
Initializes the Props for this agent. |
void |
start()
Initiates the startup process by loading agents in the startup directory. |
| Methods inherited from class com.cometway.ak.StartupAgent |
|---|
accept, getAgentList, startAgents |
| Methods inherited from class com.cometway.ak.Agent |
|---|
currentStateEquals, debug, destroy, error, error, getAgentController, getDateTimeStr, getProps, getServiceImpl, getStateMachineModel, println, register, registerService, setAgentController, setProps, stop, toString, unregister, unregisterService, warning, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StartupAgentBuilder()
| Method Detail |
|---|
public void initProps()
StartupAgent
initProps in interface AgentInterfaceinitProps in class StartupAgentpublic void start()
StartupAgent
start in interface AgentInterfacestart in class StartupAgent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||