|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.framework.initialization.AgentXmlFactory
public class AgentXmlFactory
Creates and returns a Agent
Object based on an XML file.
Each module that is created is instantiated using Class.forName(String)
.
Next its Initializable.init()
method is run. After all modules have been
created in this way, all associated modules are added for each module FullyInitializable.setAssociatedModule(FrameworkModule, String)
Finally each module's initializer is run if it has one. Thus associated modules should not be used by the init method of modules,
only constants and other variables should be set.
Constructor Summary | |
---|---|
AgentXmlFactory()
|
Method Summary | |
---|---|
Agent |
getAgent(java.util.Properties properties)
Creates and returns a Agent from specified Properties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentXmlFactory()
Method Detail |
---|
public Agent getAgent(java.util.Properties properties)
AgentFactory
Agent
from specified Properties
getAgent
in interface AgentFactory
properties
- Agent properties
Agent
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |