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
Modifier and TypeFieldDescriptionprivate Map<String,
CustomAttachmentTagDescriptor> private Map<String,
CustomCommandTagDescriptor> private org.apache.commons.digester.Digester
static final String
protected static IDGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
protected void
processFile
(String name) void
setFilename
(String... names) protected void
Methods 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
-