Spring Integration

org.springframework.integration.config.xml
Class AbstractRouterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
          extended by org.springframework.integration.config.xml.AbstractRouterParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
ErrorMessageExceptionTypeRouterParser, HeaderValueRouterParser, PayloadTypeRouterParser, RecipientListRouterParser, XPathRouterParser

public abstract class AbstractRouterParser
extends AbstractConsumerEndpointParser

Base parser for routers.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractRouterParser()
           
 
Method Summary
protected abstract  org.springframework.beans.factory.config.BeanDefinition doParseRouter(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
protected  java.lang.String getMappingKeyAttributeName()
          Returns the name of the attribute that provides a key for the channel mappings.
protected  org.springframework.beans.factory.support.BeanDefinitionBuilder parseHandler(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Parse the MessageHandler.
protected  org.springframework.beans.factory.config.BeanDefinition parseRouter(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, resolveId
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRouterParser

public AbstractRouterParser()
Method Detail

parseHandler

protected final org.springframework.beans.factory.support.BeanDefinitionBuilder parseHandler(org.w3c.dom.Element element,
                                                                                             org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: AbstractConsumerEndpointParser
Parse the MessageHandler.

Specified by:
parseHandler in class AbstractConsumerEndpointParser

parseRouter

protected final org.springframework.beans.factory.config.BeanDefinition parseRouter(org.w3c.dom.Element element,
                                                                                    org.springframework.beans.factory.xml.ParserContext parserContext)

getMappingKeyAttributeName

protected java.lang.String getMappingKeyAttributeName()
Returns the name of the attribute that provides a key for the channel mappings. This can be overridden by subclasses.


doParseRouter

protected abstract org.springframework.beans.factory.config.BeanDefinition doParseRouter(org.w3c.dom.Element element,
                                                                                         org.springframework.beans.factory.xml.ParserContext parserContext)

Spring Integration