Package org.redisson.spring.support
Class AbstractRedissonNamespaceDefinitionParser
- java.lang.Object
-
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
- org.redisson.spring.support.AbstractRedissonNamespaceDefinitionParser
-
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
- Direct Known Subclasses:
RedissonGenericObjectDefinitionParser
,RedissonLiveObjectDefinitionParser
,RedissonLiveObjectRegistrationDefinitionParser
,RedissonMultiLockDefinitionParser
,RedissonReadAndWriteLockDefinitionParser
,RedissonRPCClientDefinitionParser
,RedissonRPCServerDefinitionParser
public abstract class AbstractRedissonNamespaceDefinitionParser extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
- Author:
- Rui Gu (https://github.com/jackygurui)
-
-
Field Summary
Fields Modifier and Type Field Description protected RedissonNamespaceParserSupport
helper
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRedissonNamespaceDefinitionParser(RedissonNamespaceParserSupport helper, String parentRefAttribute)
AbstractRedissonNamespaceDefinitionParser(RedissonNamespaceParserSupport helper, String parentRefAttribute, RedissonNamespaceDecorator decorator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doParse(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
protected void
doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
protected abstract void
parseNested(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.config.BeanDefinition bd)
protected boolean
shouldGenerateIdAsFallback()
-
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
getBeanClass, getBeanClassName, getParentName, parseInternal
-
-
-
-
Field Detail
-
helper
protected final RedissonNamespaceParserSupport helper
-
-
Constructor Detail
-
AbstractRedissonNamespaceDefinitionParser
protected AbstractRedissonNamespaceDefinitionParser(RedissonNamespaceParserSupport helper, String parentRefAttribute)
-
AbstractRedissonNamespaceDefinitionParser
public AbstractRedissonNamespaceDefinitionParser(RedissonNamespaceParserSupport helper, String parentRefAttribute, RedissonNamespaceDecorator decorator)
-
-
Method Detail
-
doParse
protected final void doParse(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Overrides:
doParse
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
doParse
protected final 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.AbstractSingleBeanDefinitionParser
-
parseNested
protected abstract void parseNested(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.config.BeanDefinition bd)
-
shouldGenerateIdAsFallback
protected final boolean shouldGenerateIdAsFallback()
- Overrides:
shouldGenerateIdAsFallback
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
-