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)
-
Field Summary
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, 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
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
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldParseNameAsAliases
-
Constructor Details
-
RedisDefinitionParser
-
-
Method Details
-
getBeanClass
- 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
- 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
-