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

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

public class JmsListenerMapper
extends java.lang.Object

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

Author:
tom.fennelly@jboss.com

Constructor Summary
JmsListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, JmsListenerDocument.JmsListener 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

JmsListenerMapper

public JmsListenerMapper()
Method Detail

map

public static org.w3c.dom.Element map(org.w3c.dom.Element root,
                                      JmsListenerDocument.JmsListener 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.