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.


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  java.lang.String getGatewayClassName(org.w3c.dom.Element element)
           
protected  java.lang.String getInputChannelAttributeName()
           
protected  BeanDefinitionBuilder parseHandler(org.w3c.dom.Element element, ParserContext parserContext)
          Parse the MessageHandler.
protected  java.lang.String parseUrl(org.w3c.dom.Element element, ParserContext parserContext)
           
protected  void postProcessGateway(BeanDefinitionBuilder builder, org.w3c.dom.Element element, ParserContext parserContext)
          Subclasses may override this method for additional configuration.
protected  java.lang.String resolveId(org.w3c.dom.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 java.lang.String getGatewayClassName(org.w3c.dom.Element element)

getInputChannelAttributeName

protected java.lang.String getInputChannelAttributeName()
Overrides:
getInputChannelAttributeName in class AbstractConsumerEndpointParser

resolveId

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

parseHandler

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

Specified by:
parseHandler in class AbstractConsumerEndpointParser

parseUrl

protected java.lang.String parseUrl(org.w3c.dom.Element element,
                                    ParserContext parserContext)

postProcessGateway

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