org.jboss.soa.esb.listeners.config.mappers
Class SqlListenerMapper

java.lang.Object
  extended by org.jboss.soa.esb.listeners.config.mappers.SqlListenerMapper

public class SqlListenerMapper
extends java.lang.Object

Performs the mapping of a <fs-listener> XSD based configuration to the "ConfigTree" style configuration, adding the "ConfigTree" listener config to the "root" node.

Author:
kurt.stam@jboss.com

Constructor Summary
SqlListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, SqlListenerDocument.SqlListener listener, Generator.XMLBeansModel model)
          Perform the mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlListenerMapper

public SqlListenerMapper()
Method Detail

map

public static org.w3c.dom.Element map(org.w3c.dom.Element root,
                                      SqlListenerDocument.SqlListener listener,
                                      Generator.XMLBeansModel model)
                               throws ConfigurationException
Perform the mapping.

Parameters:
root - The "ConfigTree" configuration root node.
listener - The Jmslistener to be mapped into the ConfigTree.
model - The configuration model from which the mapping is being performed.
Returns:
The ConfigTree listener configuration node.
Throws:
ConfigurationException - Invalid listener configuration.