|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.mchaplin.commons.WmindObject
net.mchaplin.ioc.XmlContainerFactory
public class XmlContainerFactory
Instanciate containers & components, register components into containers from XML definition file
Field Summary |
---|
Fields inherited from class net.mchaplin.commons.WmindObject |
---|
EX_CAUSE, EX_STACK, log, METHOD_CALL, propertyHelper, STACK_PREFIX |
Constructor Summary | |
---|---|
XmlContainerFactory(java.lang.String fileName)
|
Method Summary | |
---|---|
void |
loadComponents(ContainerI container,
java.util.Iterator itr)
Instanciate components from definitions object & register them into target container |
ContainerI |
retrieveInstance()
Start containers defined in xml file |
Methods inherited from class net.mchaplin.commons.WmindObject |
---|
printInheritance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlContainerFactory(java.lang.String fileName)
Method Detail |
---|
public ContainerI retrieveInstance()
retrieveInstance
in interface ComponentFactoryI
public void loadComponents(ContainerI container, java.util.Iterator itr)
container
- container to load components toitr
- iterator of components definition object, mapping xml
definition file values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |