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
- Author:
- Dave Syer, Gary Russell, Felipe Gutierrez, Artem Bilan
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doParse
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected void
doParseBindings
(Element element, ParserContext parserContext, String exchangeName, Element bindings, AbstractExchangeParser parser) protected abstract BeanDefinitionBuilder
parseBinding
(String exchangeName, Element binding, ParserContext parserContext) protected void
parseBindings
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, String exchangeName) protected void
parseDestination
(Element binding, ParserContext parserContext, BeanDefinitionBuilder builder) protected boolean
protected boolean
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 Details
-
BINDING_QUEUE_ATTR
- See Also:
-
BINDING_EXCHANGE_ATTR
- See Also:
-
BINDING_ARGUMENTS
- See Also:
-
-
Constructor Details
-
AbstractExchangeParser
public AbstractExchangeParser()
-
-
Method Details
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
shouldParseNameAsAliases
protected boolean shouldParseNameAsAliases()- Overrides:
shouldParseNameAsAliases
in classAbstractBeanDefinitionParser
-
doParse
- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-
parseBindings
protected void parseBindings(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, String exchangeName) -
doParseBindings
protected void doParseBindings(Element element, ParserContext parserContext, String exchangeName, Element bindings, AbstractExchangeParser parser) -
parseBinding
protected abstract BeanDefinitionBuilder parseBinding(String exchangeName, Element binding, ParserContext parserContext) -
parseDestination
protected void parseDestination(Element binding, ParserContext parserContext, BeanDefinitionBuilder builder)
-