public class org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser implements org.springframework.beans.factory.xml.BeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser
super_class: java.lang.Object
{
private static final java.lang.String ASYNC_EXECUTION_ASPECT_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser;
public org.springframework.beans.factory.config.BeanDefinition parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/config/BeanDefinition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: new org.springframework.beans.factory.parsing.CompositeComponentDefinition
dup
aload 1
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
aload 3
invokespecial org.springframework.beans.factory.parsing.CompositeComponentDefinition.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 4
start local 4 2: aload 2
aload 4
invokevirtual org.springframework.beans.factory.xml.ParserContext.pushContainingComponent:(Lorg/springframework/beans/factory/parsing/CompositeComponentDefinition;)V
3: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
astore 5
start local 5 4: aload 1
ldc "mode"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: ldc "aspectj"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
aload 1
aload 2
invokevirtual org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser.registerAsyncExecutionAspect:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)V
7: goto 25
8: StackMap locals: org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser org.w3c.dom.Element org.springframework.beans.factory.xml.ParserContext java.lang.Object org.springframework.beans.factory.parsing.CompositeComponentDefinition org.springframework.beans.factory.support.BeanDefinitionRegistry java.lang.String
StackMap stack:
aload 5
ldc "org.springframework.context.annotation.internalAsyncAnnotationProcessor"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 13
9: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
10: ldc "Only one AsyncAnnotationBeanPostProcessor may exist within the context."
aload 3
11: invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
12: goto 25
13: StackMap locals:
StackMap stack:
ldc "org.springframework.scheduling.annotation.AsyncAnnotationBeanPostProcessor"
14: invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
astore 7
start local 7 15: aload 7
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getRawBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 3
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setSource:(Ljava/lang/Object;)V
16: aload 1
ldc "executor"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 17: aload 8
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 19
18: aload 7
ldc "executor"
aload 8
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
19: StackMap locals: org.springframework.beans.factory.support.BeanDefinitionBuilder java.lang.String
StackMap stack:
aload 1
ldc "exception-handler"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 20: aload 9
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 22
21: aload 7
ldc "exceptionHandler"
aload 9
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
22: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "proxy-target-class"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 24
23: aload 7
ldc "proxyTargetClass"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
24: StackMap locals:
StackMap stack:
aload 2
aload 7
ldc "org.springframework.context.annotation.internalAsyncAnnotationProcessor"
invokestatic org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser.registerPostProcessor:(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;Ljava/lang/String;)V
end local 9 end local 8 end local 7 25: StackMap locals:
StackMap stack:
aload 5
ldc "org.springframework.context.annotation.internalScheduledAnnotationProcessor"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifeq 30
26: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
27: ldc "Only one ScheduledAnnotationBeanPostProcessor may exist within the context."
aload 3
28: invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
29: goto 37
30: StackMap locals:
StackMap stack:
ldc "org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor"
31: invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
astore 7
start local 7 32: aload 7
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getRawBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 3
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setSource:(Ljava/lang/Object;)V
33: aload 1
ldc "scheduler"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 34: aload 8
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 36
35: aload 7
ldc "scheduler"
aload 8
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
36: StackMap locals: org.springframework.beans.factory.support.BeanDefinitionBuilder java.lang.String
StackMap stack:
aload 2
aload 7
ldc "org.springframework.context.annotation.internalScheduledAnnotationProcessor"
invokestatic org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser.registerPostProcessor:(Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;Ljava/lang/String;)V
end local 8 end local 7 37: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.popAndRegisterContainingComponent:()V
38: aconst_null
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser;
0 39 1 element Lorg/w3c/dom/Element;
0 39 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 39 3 source Ljava/lang/Object;
2 39 4 compDefinition Lorg/springframework/beans/factory/parsing/CompositeComponentDefinition;
4 39 5 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
5 39 6 mode Ljava/lang/String;
15 25 7 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
17 25 8 executor Ljava/lang/String;
20 25 9 exceptionHandler Ljava/lang/String;
32 37 7 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
34 37 8 scheduler Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
element
parserContext
private void registerAsyncExecutionAspect(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
ldc "org.springframework.scheduling.config.internalAsyncExecutionAspect"
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.containsBeanDefinition:(Ljava/lang/String;)Z
ifne 12
1: ldc "org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect"
invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition:(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
astore 3
start local 3 2: aload 3
ldc "aspectOf"
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.setFactoryMethod:(Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
3: aload 1
ldc "executor"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 4: aload 4
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 6
5: aload 3
ldc "executor"
aload 4
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
6: StackMap locals: org.springframework.beans.factory.support.BeanDefinitionBuilder java.lang.String
StackMap stack:
aload 1
ldc "exception-handler"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 5
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 9
8: aload 3
ldc "exceptionHandler"
aload 5
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
9: StackMap locals: java.lang.String
StackMap stack:
aload 2
new org.springframework.beans.factory.parsing.BeanComponentDefinition
dup
aload 3
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
10: ldc "org.springframework.scheduling.config.internalAsyncExecutionAspect"
invokespecial org.springframework.beans.factory.parsing.BeanComponentDefinition.<init>:(Lorg/springframework/beans/factory/config/BeanDefinition;Ljava/lang/String;)V
11: invokevirtual org.springframework.beans.factory.xml.ParserContext.registerBeanComponent:(Lorg/springframework/beans/factory/parsing/BeanComponentDefinition;)V
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser;
0 13 1 element Lorg/w3c/dom/Element;
0 13 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
2 12 3 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
4 12 4 executor Ljava/lang/String;
7 12 5 exceptionHandler Ljava/lang/String;
MethodParameters:
Name Flags
element
parserContext
private static void registerPostProcessor(org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder, java.lang.String);
descriptor: (Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_2
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.setRole:(I)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
1: aload 0
invokevirtual org.springframework.beans.factory.xml.ParserContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 2
aload 1
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
2: new org.springframework.beans.factory.config.BeanDefinitionHolder
dup
aload 1
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 2
invokespecial org.springframework.beans.factory.config.BeanDefinitionHolder.<init>:(Lorg/springframework/beans/factory/config/BeanDefinition;Ljava/lang/String;)V
astore 3
start local 3 3: aload 0
new org.springframework.beans.factory.parsing.BeanComponentDefinition
dup
aload 3
invokespecial org.springframework.beans.factory.parsing.BeanComponentDefinition.<init>:(Lorg/springframework/beans/factory/config/BeanDefinitionHolder;)V
invokevirtual org.springframework.beans.factory.xml.ParserContext.registerComponent:(Lorg/springframework/beans/factory/parsing/ComponentDefinition;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
0 5 1 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
0 5 2 beanName Ljava/lang/String;
3 5 3 holder Lorg/springframework/beans/factory/config/BeanDefinitionHolder;
MethodParameters:
Name Flags
parserContext
builder
beanName
}
SourceFile: "AnnotationDrivenBeanDefinitionParser.java"