Package org.redisson.spring.support
Class RedisDefinitionParser
- java.lang.Object
-
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
- org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
- org.redisson.spring.support.RedisDefinitionParser
-
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public final class RedisDefinitionParser extends org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
- Author:
- Rui Gu (https://github.com/jackygurui)
-
-
Constructor Summary
Constructors Constructor Description RedisDefinitionParser(RedissonNamespaceParserSupport helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
protected Class<RedisClient>
getBeanClass(Element element)
protected boolean
isEligibleAttribute(String attributeName)
protected boolean
isEligibleAttribute(Attr attribute, org.springframework.beans.factory.xml.ParserContext parserContext)
protected boolean
shouldGenerateIdAsFallback()
-
Methods inherited from class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
extractPropertyName, postProcess
-
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
-
-
-
-
Constructor Detail
-
RedisDefinitionParser
public RedisDefinitionParser(RedissonNamespaceParserSupport helper)
-
-
Method Detail
-
getBeanClass
protected Class<RedisClient> getBeanClass(Element element)
- Overrides:
getBeanClass
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
doParse
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Overrides:
doParse
in classorg.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
isEligibleAttribute
protected boolean isEligibleAttribute(String attributeName)
- Overrides:
isEligibleAttribute
in classorg.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
isEligibleAttribute
protected boolean isEligibleAttribute(Attr attribute, org.springframework.beans.factory.xml.ParserContext parserContext)
- Overrides:
isEligibleAttribute
in classorg.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
-
-