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

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

public class FsListenerMapper
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
FsListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, FsListenerDocument.FsListener 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

FsListenerMapper

public FsListenerMapper()
Method Detail

map

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