Package org.redisson.spring.support
Class RedissonNamespaceParserSupport
- java.lang.Object
-
- org.redisson.spring.support.RedissonNamespaceParserSupport
-
public class RedissonNamespaceParserSupport extends Object
- Author:
- Rui Gu (https://github.com/jackygurui)
-
-
Field Summary
Fields Modifier and Type Field Description static String
REDISSON_NAMESPACE
-
Constructor Summary
Constructors Constructor Description RedissonNamespaceParserSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstructorArgs(Object value, Class<?> type, org.springframework.beans.factory.config.BeanDefinition bd)
void
addConstructorArgs(Object value, Class<?> type, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
void
addConstructorArgs(Element element, String attribute, Class<?> type, org.springframework.beans.factory.config.BeanDefinition bd)
void
addConstructorArgs(Element element, String attribute, Class<?> type, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
org.springframework.beans.factory.support.BeanDefinitionBuilder
createBeanDefinitionBuilder(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, Class<?> cls)
org.springframework.beans.factory.parsing.BeanComponentDefinition
factoryInvoker(Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
factoryInvoker(String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
factoryInvoker(Element element, Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
factoryInvoker(Element element, String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
String
generateId(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
String
getAttribute(Element element, String attribute)
String
getId(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
String
getName(Node node)
Element
getSingleElement(Element element, String tagName)
boolean
hasAttribute(Element element, String attribute)
boolean
hasElement(Element element, String tagName)
org.springframework.beans.factory.parsing.BeanComponentDefinition
invoker(Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
invoker(String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
invoker(Element element, Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
invoker(Element element, String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
boolean
isEligibleAttribute(String attributeName)
boolean
isEligibleAttribute(Attr attribute)
boolean
isRedissonNS(Node node)
String[]
parseAliase(Element element)
void
parseAttributes(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
void
populateIdAttribute(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, String id, String[] aliases, org.springframework.beans.factory.xml.ParserContext parserContext)
org.springframework.beans.factory.parsing.BeanComponentDefinition
registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
void
setAttribute(Element element, String attribute, String value)
-
-
-
Field Detail
-
REDISSON_NAMESPACE
public static final String REDISSON_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseAttributes
public void parseAttributes(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
-
createBeanDefinitionBuilder
public org.springframework.beans.factory.support.BeanDefinitionBuilder createBeanDefinitionBuilder(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, Class<?> cls)
-
registerBeanDefinition
public org.springframework.beans.factory.parsing.BeanComponentDefinition registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, String id, String[] aliases, org.springframework.beans.factory.xml.ParserContext parserContext)
-
registerBeanDefinition
public org.springframework.beans.factory.parsing.BeanComponentDefinition registerBeanDefinition(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
-
addConstructorArgs
public void addConstructorArgs(Element element, String attribute, Class<?> type, org.springframework.beans.factory.config.BeanDefinition bd)
-
addConstructorArgs
public void addConstructorArgs(Object value, Class<?> type, org.springframework.beans.factory.config.BeanDefinition bd)
-
addConstructorArgs
public void addConstructorArgs(Element element, String attribute, Class<?> type, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
-
addConstructorArgs
public void addConstructorArgs(Object value, Class<?> type, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
-
getId
public String getId(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
-
generateId
public String generateId(org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
-
populateIdAttribute
public void populateIdAttribute(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, org.springframework.beans.factory.xml.ParserContext parserContext)
-
factoryInvoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition factoryInvoker(Element element, String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
factoryInvoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition factoryInvoker(Element element, Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
factoryInvoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition factoryInvoker(String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
factoryInvoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition factoryInvoker(Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
invoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition invoker(Element element, String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
invoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition invoker(Element element, Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
invoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition invoker(String bean, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
invoker
public org.springframework.beans.factory.parsing.BeanComponentDefinition invoker(Object obj, String method, Object[] args, org.springframework.beans.factory.xml.ParserContext parserContext)
-
isEligibleAttribute
public boolean isEligibleAttribute(String attributeName)
-
isEligibleAttribute
public boolean isEligibleAttribute(Attr attribute)
-
isRedissonNS
public boolean isRedissonNS(Node node)
-
-