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

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

public class HibernateListenerMapper
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:
tcunning@redhat.com

Constructor Summary
HibernateListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, org.jboss.soa.esb.listeners.config.xbeanmodel101.HibernateListenerDocument.HibernateListener listener, 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

HibernateListenerMapper

public HibernateListenerMapper()
Method Detail

map

public static org.w3c.dom.Element map(org.w3c.dom.Element root,
                                      org.jboss.soa.esb.listeners.config.xbeanmodel101.HibernateListenerDocument.HibernateListener listener,
                                      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.