public class org.springframework.cache.config.CacheNamespaceHandler extends org.springframework.beans.factory.xml.NamespaceHandlerSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.cache.config.CacheNamespaceHandler
super_class: org.springframework.beans.factory.xml.NamespaceHandlerSupport
{
static final java.lang.String CACHE_MANAGER_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "cache-manager"
static final java.lang.String DEFAULT_CACHE_MANAGER_BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "cacheManager"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.beans.factory.xml.NamespaceHandlerSupport.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/config/CacheNamespaceHandler;
static java.lang.String extractCacheManager(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "cache-manager"
invokeinterface org.w3c.dom.Element.hasAttribute:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
ldc "cache-manager"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
ldc "cacheManager"
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 element Lorg/w3c/dom/Element;
MethodParameters:
Name Flags
element
static org.springframework.beans.factory.config.BeanDefinition parseKeyGenerator(org.w3c.dom.Element, org.springframework.beans.factory.config.BeanDefinition);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/config/BeanDefinition;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "key-generator"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
invokeinterface org.springframework.beans.factory.config.BeanDefinition.getPropertyValues:()Lorg/springframework/beans/MutablePropertyValues;
ldc "keyGenerator"
new org.springframework.beans.factory.config.RuntimeBeanReference
dup
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial org.springframework.beans.factory.config.RuntimeBeanReference.<init>:(Ljava/lang/String;)V
invokevirtual org.springframework.beans.MutablePropertyValues.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
pop
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 element Lorg/w3c/dom/Element;
0 4 1 def Lorg/springframework/beans/factory/config/BeanDefinition;
1 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
element
def
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "annotation-driven"
new org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser
dup
invokespecial org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser.<init>:()V
invokevirtual org.springframework.cache.config.CacheNamespaceHandler.registerBeanDefinitionParser:(Ljava/lang/String;Lorg/springframework/beans/factory/xml/BeanDefinitionParser;)V
1: aload 0
ldc "advice"
new org.springframework.cache.config.CacheAdviceParser
dup
invokespecial org.springframework.cache.config.CacheAdviceParser.<init>:()V
invokevirtual org.springframework.cache.config.CacheNamespaceHandler.registerBeanDefinitionParser:(Ljava/lang/String;Lorg/springframework/beans/factory/xml/BeanDefinitionParser;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/config/CacheNamespaceHandler;
}
SourceFile: "CacheNamespaceHandler.java"