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 BeanMetadataElementparseSource(Element element, ParserContext parserContext)Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.protected booleanshouldGenerateId()protected booleanshouldGenerateIdAsFallback()Methods inherited from class org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
doParseMethods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParser
parseInternal, resolveIdMethods 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:
shouldGenerateIdin classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallbackin classAbstractBeanDefinitionParser
-
parseSource
Description copied from class:AbstractPollingInboundChannelAdapterParserSubclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Specified by:
parseSourcein classAbstractPollingInboundChannelAdapterParser- Parameters:
element- The element.parserContext- The parser context.- Returns:
- The bean metadata element.
-