|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.config.Generator
public class Generator
ESB Configuration Generator.
Generates a legacy/deprecated configuration fileset in accordance with theConfigTree
approach to ESB configuration. The
generator input should be a configuration that has been validated against the
JBoss ESB configuration schema (XMLSchema).
Nested Class Summary | |
---|---|
class |
Generator.XMLBeansModel
XMLBeans based model implementation. |
Field Summary | |
---|---|
static java.lang.String |
ESB_CONFIG_GATEWAY_XML_FILE
Gateway Listeners config file. |
static java.lang.String |
ESB_CONFIG_XML_FILE
ESB Aware Listeners config file. |
Constructor Summary | |
---|---|
Generator(java.io.InputStream config)
Public constructor. |
Method Summary | |
---|---|
void |
generate(java.io.File outdir)
Generate the configuration set in the supplied output directory. |
protected Generator.XMLBeansModel |
getModel()
Get the model instance associate with the configuration used to create this Generator instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ESB_CONFIG_GATEWAY_XML_FILE
public static final java.lang.String ESB_CONFIG_XML_FILE
Constructor Detail |
---|
public Generator(java.io.InputStream config) throws ConfigurationException, java.io.IOException
config
- The input configuration stream.
ConfigurationException
- Bad listener ESB configuration.
java.io.IOException
- Unable to read the ESB listener configuration.Method Detail |
---|
public void generate(java.io.File outdir) throws ConfigurationException
outdir
- The output directory to where the configuration set is to be generated.
The directory will be created if it doesn't already exist.
ConfigurationException
- Failed to generate configuration set.protected Generator.XMLBeansModel getModel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |