Class 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
    • 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
      • Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

        parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldParseNameAsAliases
    • Method Detail

      • 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