Class RedisChannelParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelParser
org.springframework.integration.redis.config.RedisChannelParser
- All Implemented Interfaces:
BeanDefinitionParser
public class RedisChannelParser extends AbstractChannelParser
Parser for the 'channel' and 'publish-subscribe-channel' elements of the
Spring Integration Redis namespace.
- Since:
- 2.1
- Author:
- Oleg Zhurakusky, Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description RedisChannelParser()
-
Method Summary
Modifier and Type Method Description protected BeanDefinitionBuilder
buildBeanDefinition(Element element, ParserContext parserContext)
Subclasses must implement this method to create the bean definition.Methods inherited from class org.springframework.integration.config.xml.AbstractChannelParser
parseInternal, registerBeanDefinition
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
RedisChannelParser
public RedisChannelParser()
-
-
Method Details
-
buildBeanDefinition
Description copied from class:AbstractChannelParser
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.- Specified by:
buildBeanDefinition
in classAbstractChannelParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition builder.
-