|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nasa.arc.brahms.vm.api.common.AgentFactory
public class AgentFactory
The AgentFactory provides methods to create new agents.
| Constructor Summary | |
|---|---|
AgentFactory()
|
|
| Method Summary | |
|---|---|
static IAgent |
createAgent(java.lang.String name,
IGroup[] groups,
IContext actionCtx)
createAgent creates a new agent, makes it a member of the specified groups and returns the new agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentFactory()
| Method Detail |
|---|
public static IAgent createAgent(java.lang.String name,
IGroup[] groups,
IContext actionCtx)
throws ExternalException
name - the name of the new agentgroups - the list of IGroup to make the new agent a member ofactionCtx - the IContext for the action
ExternalException - if the creation of the new agent fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||