Class 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, Ngoc Nhan
  • Constructor Details

    • AbstractPollingInboundChannelAdapterParser

      public AbstractPollingInboundChannelAdapterParser()
  • Method Details

    • doParse

      protected AbstractBeanDefinition doParse(Element element, ParserContext parserContext, String channelName)
      Description copied from class: AbstractChannelAdapterParser
      Subclasses must implement this method to parse the adapter element. The name of the MessageChannel bean is provided.
      Specified by:
      doParse in class AbstractChannelAdapterParser
      Parameters:
      element - The element.
      parserContext - The parser context.
      channelName - The channel name.
      Returns:
      The bean definition.
    • parseSource

      protected abstract BeanMetadataElement parseSource(Element element, ParserContext parserContext)
      Subclasses 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.