Spring Integration

org.springframework.integration.config.xml
Class DefaultOutboundChannelAdapterParser

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.AbstractOutboundChannelAdapterParser
              extended by org.springframework.integration.config.xml.DefaultOutboundChannelAdapterParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class DefaultOutboundChannelAdapterParser
extends AbstractOutboundChannelAdapterParser

Parser for the <outbound-channel-adapter/> element.

Author:
Mark Fisher, Oleg Zhurakousky, Artem Bilan

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
DefaultOutboundChannelAdapterParser()
           
 
Method Summary
protected  java.lang.String parseAndRegisterConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Override this method to control the registration process and return the bean name.
protected  org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Override this method to return the BeanDefinition for the MessageConsumer.
 
Methods inherited from class org.springframework.integration.config.xml.AbstractOutboundChannelAdapterParser
doParse
 
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

DefaultOutboundChannelAdapterParser

public DefaultOutboundChannelAdapterParser()
Method Detail

parseAndRegisterConsumer

protected java.lang.String parseAndRegisterConsumer(org.w3c.dom.Element element,
                                                    org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: AbstractOutboundChannelAdapterParser
Override this method to control the registration process and return the bean name. If parsing a bean definition whose name can be auto-generated, consider using AbstractOutboundChannelAdapterParser.parseConsumer(Element, ParserContext) instead.

Overrides:
parseAndRegisterConsumer in class AbstractOutboundChannelAdapterParser

parseConsumer

protected org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element,
                                                                                         org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: AbstractOutboundChannelAdapterParser
Override this method to return the BeanDefinition for the MessageConsumer. It will be registered with a generated name.

Specified by:
parseConsumer in class AbstractOutboundChannelAdapterParser

Spring Integration