org.springframework.integration.config.xml
Class AbstractChannelAdapterParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractChannelAdapterParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
AbstractOutboundChannelAdapterParser, AbstractPollingInboundChannelAdapterParser, EventInboundChannelAdapterParser, TcpInboundChannelAdapterParser, UdpInboundChannelAdapterParser

public abstract class AbstractChannelAdapterParser
extends AbstractBeanDefinitionParser

Base parser for Channel Adapters.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractChannelAdapterParser()
           
 
Method Summary
protected abstract  AbstractBeanDefinition doParse(org.w3c.dom.Element element, ParserContext parserContext, java.lang.String channelName)
          Subclasses must implement this method to parse the adapter element.
protected  AbstractBeanDefinition parseInternal(org.w3c.dom.Element element, ParserContext parserContext)
           
protected  java.lang.String resolveId(org.w3c.dom.Element element, AbstractBeanDefinition definition, ParserContext parserContext)
           
 
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

AbstractChannelAdapterParser

public AbstractChannelAdapterParser()
Method Detail

resolveId

protected final java.lang.String resolveId(org.w3c.dom.Element element,
                                           AbstractBeanDefinition definition,
                                           ParserContext parserContext)
                                    throws BeanDefinitionStoreException
Overrides:
resolveId in class AbstractBeanDefinitionParser
Throws:
BeanDefinitionStoreException

parseInternal

protected final AbstractBeanDefinition parseInternal(org.w3c.dom.Element element,
                                                     ParserContext parserContext)
Specified by:
parseInternal in class AbstractBeanDefinitionParser

doParse

protected abstract AbstractBeanDefinition doParse(org.w3c.dom.Element element,
                                                  ParserContext parserContext,
                                                  java.lang.String channelName)
Subclasses must implement this method to parse the adapter element. The name of the MessageChannel bean is provided.