|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.catalan.process.workers.WorkerRegistry org.umber.catalan.process.workers.XmlWorkerRegistry
WorkerRegistry that loads itself from an XML specification.
Constructor Summary | |
XmlWorkerRegistry()
|
Method Summary | |
void |
addWorkersFromDatum(Datum xml)
Loads workers from any <workers> element inside the XML document. |
void |
addWorkersFromPath(java.lang.String registryXmlPath)
Loads workers from any <workers> element inside the XML document at the given path. |
Methods inherited from class org.umber.catalan.process.workers.WorkerRegistry |
addClassWorker, addCustomWorker, addExternalWorker, getWorker, getWorkerNames |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlWorkerRegistry()
Method Detail |
public final void addWorkersFromPath(java.lang.String registryXmlPath) throws RegistryException
registryXmlPath
- path to XML document
RegistryException
- if unable to find or load XML document, or
unable to load workers into registrypublic final void addWorkersFromDatum(Datum xml) throws RegistryException
xml
- XML document
RegistryException
- if unable to load workers into registry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |