Package org.chenile.owiz.config.impl
Class XmlOrchConfigurator<InputType>
java.lang.Object
org.chenile.owiz.config.impl.OrchConfiguratorBase<InputType>
org.chenile.owiz.config.impl.XmlOrchConfigurator<InputType>
- Type Parameters:
InputType- .
- All Implemented Interfaces:
OrchConfigurator<InputType>
Chief class for the framework. It configures the flow by reading a set of XML files. The files would be combined
to obtain the flow.
This class supports a DSL language that allows the consumer to define command and attach tags. The properties of both command and the attach tag can be defaulted.
- Author:
- Raja Shankar Kolluru
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,CustomAttachmentTagDescriptor> private Map<String,CustomCommandTagDescriptor> private org.apache.commons.digester.Digesterstatic final Stringprotected static IDGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidprotected voidprocessFile(String name) voidsetFilename(String... names) protected voidMethods inherited from class org.chenile.owiz.config.impl.OrchConfiguratorBase
addFlow, getBeanFactoryAdapter, lookupCommand, makeCommand, obtainCommandCatalog, obtainCommandInfo, obtainCommandInfo, obtainFirstCommand, obtainFirstCommand, obtainFirstCommandInfo, obtainFirstCommandInfo, obtainFlow, processFlows, setBeanFactoryAdapter, toXml
-
Field Details
-
digester
private org.apache.commons.digester.Digester digester -
FLOW_STACK
- See Also:
-
idGenerator
-
commandTagMap
-
attachmentTagMap
-
-
Constructor Details
-
XmlOrchConfigurator
public XmlOrchConfigurator() -
XmlOrchConfigurator
public XmlOrchConfigurator(List<String> files, BeanFactoryAdapter factory) throws OwizConfigException - Throws:
OwizConfigException
-
-
Method Details
-
setupDefaultTags
protected void setupDefaultTags() -
initDigester
public void initDigester() -
addCommandTag
-
addAttachmentTag
-
setFilename
- Throws:
OwizConfigException
-
processFile
-
completeInit
- Throws:
OwizConfigException
-