Class AbstractPollingInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- AbstractRemoteFileInboundChannelAdapterParser,- AbstractRemoteFileStreamingInboundChannelAdapterParser,- AttributePollingChannelAdapterParser,- ConsoleInboundChannelAdapterParser,- DefaultInboundChannelAdapterParser,- FeedInboundChannelAdapterParser,- FileInboundChannelAdapterParser,- HazelcastDistributedSQLInboundChannelAdapterParser,- JdbcPollingChannelAdapterParser,- JmsInboundChannelAdapterParser,- JpaInboundChannelAdapterParser,- KafkaInboundChannelAdapterParser,- MailInboundChannelAdapterParser,- MBeanTreePollingChannelAdapterParser,- MongoDbInboundChannelAdapterParser,- RedisStoreInboundChannelAdapterParser,- ResourceInboundChannelAdapterParser,- StoredProcPollingChannelAdapterParser
public abstract class AbstractPollingInboundChannelAdapterParser
extends AbstractChannelAdapterParser
Base parser for inbound Channel Adapters that poll a source.
- Author:
- Mark Fisher, Gary Russell, Oleg Zhurakousky, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserID_ATTRIBUTE, NAME_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected AbstractBeanDefinitiondoParse(Element element, ParserContext parserContext, String channelName) Subclasses must implement this method to parse the adapter element.protected abstract BeanMetadataElementparseSource(Element element, ParserContext parserContext) Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.Methods inherited from class org.springframework.integration.config.xml.AbstractChannelAdapterParserparseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
- 
Constructor Details- 
AbstractPollingInboundChannelAdapterParserpublic AbstractPollingInboundChannelAdapterParser()
 
- 
- 
Method Details- 
doParseprotected AbstractBeanDefinition doParse(Element element, ParserContext parserContext, String channelName) Description copied from class:AbstractChannelAdapterParserSubclasses must implement this method to parse the adapter element. The name of the MessageChannel bean is provided.- Specified by:
- doParsein class- AbstractChannelAdapterParser
- Parameters:
- element- The element.
- parserContext- The parser context.
- channelName- The channel name.
- Returns:
- The bean definition.
 
- 
parseSourceSubclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.- Parameters:
- element- The element.
- parserContext- The parser context.
- Returns:
- The bean metadata element.
 
 
-