Spring Integration

org.springframework.integration.config.xml
Class AbstractOutboundGatewayParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
          extended by org.springframework.integration.config.xml.AbstractOutboundGatewayParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
HttpInvokerOutboundGatewayParser, RmiOutboundGatewayParser, WebServiceOutboundGatewayParser

public abstract class AbstractOutboundGatewayParser
extends AbstractConsumerEndpointParser

Base class for url-based outbound gateway parsers.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractOutboundGatewayParser()
           
 
Method Summary
protected abstract  String getGatewayClassName(Element element)
           
protected  String getInputChannelAttributeName()
           
protected  BeanDefinitionBuilder parseHandler(Element element, ParserContext parserContext)
          Parse the MessageHandler.
protected  String parseUrl(Element element, ParserContext parserContext)
           
protected  void postProcessGateway(BeanDefinitionBuilder builder, Element element, ParserContext parserContext)
          Subclasses may override this method for additional configuration.
protected  String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
           
 
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
parseInternal, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOutboundGatewayParser

public AbstractOutboundGatewayParser()
Method Detail

getGatewayClassName

protected abstract String getGatewayClassName(Element element)

getInputChannelAttributeName

protected String getInputChannelAttributeName()
Overrides:
getInputChannelAttributeName in class AbstractConsumerEndpointParser

resolveId

protected String resolveId(Element element,
                           AbstractBeanDefinition definition,
                           ParserContext parserContext)
                    throws BeanDefinitionStoreException
Overrides:
resolveId in class AbstractBeanDefinitionParser
Throws:
BeanDefinitionStoreException

parseHandler

protected BeanDefinitionBuilder parseHandler(Element element,
                                             ParserContext parserContext)
Description copied from class: AbstractConsumerEndpointParser
Parse the MessageHandler.

Specified by:
parseHandler in class AbstractConsumerEndpointParser

parseUrl

protected String parseUrl(Element element,
                          ParserContext parserContext)

postProcessGateway

protected void postProcessGateway(BeanDefinitionBuilder builder,
                                  Element element,
                                  ParserContext parserContext)
Subclasses may override this method for additional configuration.


Spring Integration

Copyright © 2010. All Rights Reserved.