|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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. |
|
Generator(java.io.InputStream config,
java.io.OutputStream listenerOutputStream,
java.io.OutputStream gatewayOutputStream)
|
|
| Method Summary | |
|---|---|
void |
generate()
Generate the configuration set in the supplied output directory and store it in the member outputstreams. |
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,
java.io.OutputStream listenerOutputStream,
java.io.OutputStream gatewayOutputStream)
throws ConfigurationException,
java.io.IOException
ConfigurationException
java.io.IOException
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()
throws ConfigurationException
ConfigurationException - Failed to generate configuration set.
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 | ||||||||