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

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

public class ActionMapper
extends java.lang.Object

Performs the mapping of XSD based configuration service actions onto a "ConfigTree" style listener configuration.

Author:
tom.fennelly@jboss.com

Constructor Summary
ActionMapper()
           
 
Method Summary
static void map(org.w3c.dom.Element listenerConfigTree, ServiceDocument.Service listenerService, 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

ActionMapper

public ActionMapper()
Method Detail

map

public static void map(org.w3c.dom.Element listenerConfigTree,
                       ServiceDocument.Service listenerService,
                       Generator.XMLBeansModel model)
                throws ConfigurationException
Perform the mapping. Checks to ensure that action names are unique, and throws a ConfigurationException if a duplicate action name is registered.

Parameters:
listenerConfigTree - The listener ConfigTree to which the actions are to be added.
listenerService - The Service to which the listener is bound. The Service defines the actions.
model - The configuration model from which the mapping is being performed.
Throws:
ConfigurationException