Class JdbcPollingChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
org.springframework.integration.jdbc.config.JdbcPollingChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
public class JdbcPollingChannelAdapterParser extends AbstractPollingInboundChannelAdapterParser
Parser for
JdbcPollingChannelAdapter
.- Since:
- 2.0
- Author:
- Jonas Partner, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description JdbcPollingChannelAdapterParser()
-
Method Summary
Modifier and Type Method Description protected BeanMetadataElement
parseSource(Element element, ParserContext parserContext)
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.protected boolean
shouldGenerateId()
protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParse
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
-
JdbcPollingChannelAdapterParser
public JdbcPollingChannelAdapterParser()
-
-
Method Details
-
shouldGenerateId
protected boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParser
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSource
in classAbstractPollingInboundChannelAdapterParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean metadata element.
-