org.jboss.soa.esb.listeners.config.mappers131
Class UntypedListenerMapper

java.lang.Object
  extended by org.jboss.soa.esb.listeners.config.mappers131.UntypedListenerMapper

public class UntypedListenerMapper
extends java.lang.Object

Perform a mapping for an "untyped" listener configuration.

By "untyped" we mean that the listener type is not defined in the XSD, but instead is being defined using the base <listener> type, mapping all it's associated <property> values (including those of the associated bus and provider) onto the listener ConfigTree as attributes.

This is effectively like the base transform - if we don't have a mapper for the listener, this one is applied.

Author:
tom.fennelly@jboss.com

Constructor Summary
UntypedListenerMapper()
           
 
Method Summary
static org.w3c.dom.Element map(org.w3c.dom.Element root, org.jboss.soa.esb.listeners.config.xbeanmodel131.DualListener 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

UntypedListenerMapper

public UntypedListenerMapper()
Method Detail

map

public static org.w3c.dom.Element map(org.w3c.dom.Element root,
                                      org.jboss.soa.esb.listeners.config.xbeanmodel131.DualListener listener,
                                      XMLBeansModel model)
                               throws ConfigurationException
Perform the mapping.

Parameters:
root - The "ConfigTree" configuration root node.
listener - The listener 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.