Class AmqpInboundChannelAdapterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.amqp.config.AmqpInboundChannelAdapterParser
- All Implemented Interfaces:
BeanDefinitionParser
public class AmqpInboundChannelAdapterParser extends AbstractSingleBeanDefinitionParser
Parser for the AMQP 'inbound-channel-adapter' element.
- Since:
- 2.1
- Author:
- Mark Fisher, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Method Summary
Modifier and Type Method Description protected void
configureChannels(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected void
doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
protected String
getBeanClassName(Element element)
protected String
resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
protected boolean
shouldGenerateId()
protected boolean
shouldGenerateIdAsFallback()
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldParseNameAsAliases
-
Method Details
-
resolveId
protected final String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException- Overrides:
resolveId
in classAbstractBeanDefinitionParser
- Throws:
BeanDefinitionStoreException
-
configureChannels
protected void configureChannels(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) -
getBeanClassName
- Overrides:
getBeanClassName
in classAbstractSingleBeanDefinitionParser
-
shouldGenerateId
protected final boolean shouldGenerateId()- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected final boolean shouldGenerateIdAsFallback()- Overrides:
shouldGenerateIdAsFallback
in classAbstractBeanDefinitionParser
-
doParse
protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-