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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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>
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getBeanClass

      protected Class<RedisClient> getBeanClass(Element element)
      Overrides:
      getBeanClass in class org.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 class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
    • shouldGenerateIdAsFallback

      protected boolean shouldGenerateIdAsFallback()
      Overrides:
      shouldGenerateIdAsFallback in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
    • isEligibleAttribute

      protected boolean isEligibleAttribute(String attributeName)
      Overrides:
      isEligibleAttribute in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
    • isEligibleAttribute

      protected boolean isEligibleAttribute(Attr attribute, org.springframework.beans.factory.xml.ParserContext parserContext)
      Overrides:
      isEligibleAttribute in class org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser