Class AbstractChannelParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelParser
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- AmqpChannelParser,- JmsChannelParser,- KafkaChannelParser,- PointToPointChannelParser,- PublishSubscribeChannelParser,- RedisChannelParser
Base class for channel parsers.
- Author:
- Mark Fisher, Dave Syer, Artem Bilan, Gary Russell
- 
Field SummaryFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserID_ATTRIBUTE, NAME_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract BeanDefinitionBuilderbuildBeanDefinition(Element element, ParserContext parserContext) Subclasses must implement this method to create the bean definition.protected AbstractBeanDefinitionparseInternal(Element element, ParserContext parserContext) protected voidregisterBeanDefinition(BeanDefinitionHolder definition, BeanDefinitionRegistry registry) Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserparse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
- 
Constructor Details- 
AbstractChannelParserpublic AbstractChannelParser()
 
- 
- 
Method Details- 
parseInternal- Specified by:
- parseInternalin class- AbstractBeanDefinitionParser
 
- 
registerBeanDefinitionprotected void registerBeanDefinition(BeanDefinitionHolder definition, BeanDefinitionRegistry registry) - Overrides:
- registerBeanDefinitionin class- AbstractBeanDefinitionParser
 
- 
buildBeanDefinitionprotected abstract BeanDefinitionBuilder buildBeanDefinition(Element element, ParserContext parserContext) Subclasses must implement this method to create the bean definition. The class must be defined, and any implementation-specific constructor arguments or properties should be configured. This base class will configure the interceptors including the 'datatype' interceptor if the 'datatype' attribute is defined on the channel element.- Parameters:
- element- The element.
- parserContext- The parser context.
- Returns:
- The bean definition builder.
 
 
-