Spring Integration

org.springframework.integration.config.xml
Class AbstractConsumerEndpointParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.integration.config.xml.AbstractConsumerEndpointParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
AbstractOutboundGatewayParser, AbstractRouterParser, AbstractTransformerParser, AggregatorParser, BridgeParser, ChainParser, DefaultRouterParser, DelayerParser, FileOutboundGatewayParser, FilterParser, HttpOutboundGatewayParser, IpOutboundGatewayParser, JmsOutboundGatewayParser, OperationInvokingOutboundGatewayParser, RecipientListRouterParser, ResequencerParser, ServiceActivatorParser, SplitterParser, TransformerParser, XmlPayloadValidatingRouterParser, XPathMessageSplitterParser, XPathRouterParser

public abstract class AbstractConsumerEndpointParser
extends AbstractBeanDefinitionParser

Base class parser for elements that create Message Endpoints.

Author:
Mark Fisher, Oleg Zhurakousky

Field Summary
protected static String EXPRESSION_ATTRIBUTE
           
protected static String METHOD_ATTRIBUTE
           
protected static String REF_ATTRIBUTE
           
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
AbstractConsumerEndpointParser()
           
 
Method Summary
protected  String getInputChannelAttributeName()
           
protected abstract  BeanDefinitionBuilder parseHandler(Element element, ParserContext parserContext)
          Parse the MessageHandler.
protected  AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext)
           
protected  boolean shouldGenerateId()
           
protected  boolean shouldGenerateIdAsFallback()
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REF_ATTRIBUTE

protected static final String REF_ATTRIBUTE
See Also:
Constant Field Values

METHOD_ATTRIBUTE

protected static final String METHOD_ATTRIBUTE
See Also:
Constant Field Values

EXPRESSION_ATTRIBUTE

protected static final String EXPRESSION_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

AbstractConsumerEndpointParser

public AbstractConsumerEndpointParser()
Method Detail

shouldGenerateId

protected boolean shouldGenerateId()
Overrides:
shouldGenerateId in class AbstractBeanDefinitionParser

shouldGenerateIdAsFallback

protected boolean shouldGenerateIdAsFallback()
Overrides:
shouldGenerateIdAsFallback in class AbstractBeanDefinitionParser

parseHandler

protected abstract BeanDefinitionBuilder parseHandler(Element element,
                                                      ParserContext parserContext)
Parse the MessageHandler.


getInputChannelAttributeName

protected String getInputChannelAttributeName()

parseInternal

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

Spring Integration

Copyright © 2010. All Rights Reserved.