Spring Integration

org.springframework.integration.config.xml
Class AbstractPollingInboundChannelAdapterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractChannelAdapterParser
          extended by org.springframework.integration.config.xml.AbstractPollingInboundChannelAdapterParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
AbstractRemoteFileInboundChannelAdapterParser, AttributePollingChannelAdapterParser, ConsoleInboundChannelAdapterParser, DefaultInboundChannelAdapterParser, FeedInboundChannelAdapterParser, FileInboundChannelAdapterParser, JdbcPollingChannelAdapterParser, JmsInboundChannelAdapterParser, MailInboundChannelAdapterParser, ResourceInboundChannelAdapterParser, StoredProcPollingChannelAdapterParser, TwitterInboundChannelAdapterParser

public abstract class AbstractPollingInboundChannelAdapterParser
extends AbstractChannelAdapterParser

Base parser for inbound Channel Adapters that poll a source.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractPollingInboundChannelAdapterParser()
           
 
Method Summary
protected  org.springframework.beans.factory.support.AbstractBeanDefinition doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext, java.lang.String channelName)
          Subclasses must implement this method to parse the adapter element.
protected abstract  org.springframework.beans.BeanMetadataElement parseSource(org.w3c.dom.Element element, org.springframework.beans.factory.xml.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.AbstractChannelAdapterParser
parseInternal, resolveId
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPollingInboundChannelAdapterParser

public AbstractPollingInboundChannelAdapterParser()
Method Detail

doParse

protected org.springframework.beans.factory.support.AbstractBeanDefinition doParse(org.w3c.dom.Element element,
                                                                                   org.springframework.beans.factory.xml.ParserContext parserContext,
                                                                                   java.lang.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

parseSource

protected abstract org.springframework.beans.BeanMetadataElement parseSource(org.w3c.dom.Element element,
                                                                             org.springframework.beans.factory.xml.ParserContext parserContext)
Subclasses must implement this method to parse the PollableSource instance which the created Channel Adapter will poll.


Spring Integration