Class JdbcMessageHandlerParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
org.springframework.integration.jdbc.config.JdbcMessageHandlerParser
- All Implemented Interfaces:
BeanDefinitionParser
public class JdbcMessageHandlerParser extends AbstractOutboundChannelAdapterParser
- Since:
- 2.0
- Author:
- Dave Syer, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description JdbcMessageHandlerParser()
-
Method Summary
Modifier and Type Method Description protected AbstractBeanDefinition
parseConsumer(Element element, ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer.protected boolean
shouldGenerateId()
protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse, doParseAndRegisterConsumer, isUsingReplyProducer
Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveId
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
-
Constructor Details
-
JdbcMessageHandlerParser
public JdbcMessageHandlerParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseConsumer
Description copied from class:AbstractOutboundChannelAdapterParser
Override this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.- Specified by:
parseConsumer
in classAbstractOutboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition.
-