org.springframework.integration.config.xml
Class AbstractRouterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractRouterParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
- ErrorMessageExceptionTypeRouterParser, HeaderValueRouterParser, PayloadTypeRouterParser, XPathRouterParser
public abstract class AbstractRouterParser
- extends AbstractConsumerEndpointParser
Base parser for routers.
- Author:
- Mark Fisher
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
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.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRouterParser
public AbstractRouterParser()
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)