Class AbstractExchangeParser
- java.lang.Object
-
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
- org.springframework.amqp.rabbit.config.AbstractExchangeParser
-
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
DirectExchangeParser
,FanoutExchangeParser
,HeadersExchangeParser
,TopicExchangeParser
public abstract class AbstractExchangeParser extends AbstractSingleBeanDefinitionParser
- Author:
- Dave Syer, Gary Russell, Felipe Gutierrez, Artem Bilan
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
BINDING_ARGUMENTS
protected static java.lang.String
BINDING_EXCHANGE_ATTR
protected static java.lang.String
BINDING_QUEUE_ATTR
-
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description AbstractExchangeParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doParse(org.w3c.dom.Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected void
doParseBindings(org.w3c.dom.Element element, ParserContext parserContext, java.lang.String exchangeName, org.w3c.dom.Element bindings, AbstractExchangeParser parser)
protected abstract BeanDefinitionBuilder
parseBinding(java.lang.String exchangeName, org.w3c.dom.Element binding, ParserContext parserContext)
protected void
parseBindings(org.w3c.dom.Element element, ParserContext parserContext, BeanDefinitionBuilder builder, java.lang.String exchangeName)
protected void
parseDestination(org.w3c.dom.Element binding, ParserContext parserContext, BeanDefinitionBuilder builder)
protected boolean
shouldGenerateIdAsFallback()
protected boolean
shouldParseNameAsAliases()
-
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal
-
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId
-
-
-
-
Field Detail
-
BINDING_QUEUE_ATTR
protected static final java.lang.String BINDING_QUEUE_ATTR
- See Also:
- Constant Field Values
-
BINDING_EXCHANGE_ATTR
protected static final java.lang.String BINDING_EXCHANGE_ATTR
- See Also:
- Constant Field Values
-
BINDING_ARGUMENTS
protected static final java.lang.String BINDING_ARGUMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
shouldParseNameAsAliases
protected boolean shouldParseNameAsAliases()
- Overrides:
shouldParseNameAsAliases
in classAbstractBeanDefinitionParser
-
doParse
protected void doParse(org.w3c.dom.Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-
parseBindings
protected void parseBindings(org.w3c.dom.Element element, ParserContext parserContext, BeanDefinitionBuilder builder, java.lang.String exchangeName)
-
doParseBindings
protected void doParseBindings(org.w3c.dom.Element element, ParserContext parserContext, java.lang.String exchangeName, org.w3c.dom.Element bindings, AbstractExchangeParser parser)
-
parseBinding
protected abstract BeanDefinitionBuilder parseBinding(java.lang.String exchangeName, org.w3c.dom.Element binding, ParserContext parserContext)
-
parseDestination
protected void parseDestination(org.w3c.dom.Element binding, ParserContext parserContext, BeanDefinitionBuilder builder)
-
-