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

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

public class FtpListenerMapper
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
FtpListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, FtpListenerDocument.FtpListener 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

FtpListenerMapper

public FtpListenerMapper()
Method Detail

map

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