public class org.springframework.beans.factory.wiring.BeanConfigurerSupport implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.wiring.BeanConfigurerSupport
super_class: java.lang.Object
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private volatile org.springframework.beans.factory.wiring.BeanWiringInfoResolver beanWiringInfoResolver;
descriptor: Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private volatile org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory;
descriptor: Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.logger:Lorg/apache/commons/logging/Log;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
public void setBeanWiringInfoResolver(org.springframework.beans.factory.wiring.BeanWiringInfoResolver);
descriptor: (Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "BeanWiringInfoResolver must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanWiringInfoResolver:Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
0 3 1 beanWiringInfoResolver Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
MethodParameters:
Name Flags
beanWiringInfoResolver
public void setBeanFactory(org.springframework.beans.factory.BeanFactory);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.beans.factory.config.ConfigurableListableBeanFactory
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "Bean configurer aspect needs to run in a ConfigurableListableBeanFactory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.springframework.beans.factory.config.ConfigurableListableBeanFactory
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanFactory:Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
5: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanWiringInfoResolver:Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
ifnonnull 7
6: aload 0
aload 0
invokevirtual org.springframework.beans.factory.wiring.BeanConfigurerSupport.createDefaultBeanWiringInfoResolver:()Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanWiringInfoResolver:Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
0 8 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
MethodParameters:
Name Flags
beanFactory
protected org.springframework.beans.factory.wiring.BeanWiringInfoResolver createDefaultBeanWiringInfoResolver();
descriptor: ()Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver
dup
invokespecial org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanFactory:Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
ldc "BeanFactory must be set"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanFactory:Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
1: aload 0
aconst_null
putfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanWiringInfoResolver:Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
public void configureBean(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanFactory:Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
ifnonnull 7
1: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 6
2: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "BeanFactory has not been set on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.springframework.util.ClassUtils.getShortName:(Ljava/lang/Class;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "Make sure this configurer runs in a Spring container. Unable to configure bean of type ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 1
invokestatic org.springframework.util.ClassUtils.getDescriptiveType:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]. Proceeding without injection."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanWiringInfoResolver:Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
astore 2
start local 2 8: aload 2
ifnull 9
iconst_1
goto 10
StackMap locals: org.springframework.beans.factory.wiring.BeanWiringInfoResolver
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: ldc "No BeanWiringInfoResolver available"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
11: aload 2
aload 1
invokeinterface org.springframework.beans.factory.wiring.BeanWiringInfoResolver.resolveWiringInfo:(Ljava/lang/Object;)Lorg/springframework/beans/factory/wiring/BeanWiringInfo;
astore 3
start local 3 12: aload 3
ifnonnull 14
13: return
14: StackMap locals: org.springframework.beans.factory.wiring.BeanWiringInfo
StackMap stack:
aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.beanFactory:Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
astore 4
start local 4 15: aload 4
ifnull 16
iconst_1
goto 17
StackMap locals: org.springframework.beans.factory.config.ConfigurableListableBeanFactory
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: ldc "No BeanFactory available"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
18: aload 3
invokevirtual org.springframework.beans.factory.wiring.BeanWiringInfo.getBeanName:()Ljava/lang/String;
astore 5
start local 5 19: aload 3
invokevirtual org.springframework.beans.factory.wiring.BeanWiringInfo.indicatesAutowiring:()Z
ifne 21
aload 3
invokevirtual org.springframework.beans.factory.wiring.BeanWiringInfo.isDefaultBeanName:()Z
ifeq 26
aload 5
ifnull 26
20: aload 4
aload 5
invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.containsBean:(Ljava/lang/String;)Z
ifne 26
21: StackMap locals: java.lang.String
StackMap stack:
aload 4
aload 1
aload 3
invokevirtual org.springframework.beans.factory.wiring.BeanWiringInfo.getAutowireMode:()I
aload 3
invokevirtual org.springframework.beans.factory.wiring.BeanWiringInfo.getDependencyCheck:()Z
invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.autowireBeanProperties:(Ljava/lang/Object;IZ)V
22: aload 4
aload 1
aload 5
ifnull 23
aload 5
goto 24
StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.String
StackMap stack: org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.Object
23: ldc ""
StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.String
StackMap stack: org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.Object java.lang.String
24: invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.initializeBean:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
25: goto 44
26: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
ifnull 27
aload 5
goto 28
StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.String
StackMap stack: org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.Object
27: ldc ""
StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.String
StackMap stack: org.springframework.beans.factory.config.ConfigurableListableBeanFactory java.lang.Object java.lang.String
28: invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.configureBean:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 5 29: goto 44
30: StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory
StackMap stack: org.springframework.beans.factory.BeanCreationException
astore 5
start local 5 31: aload 5
invokevirtual org.springframework.beans.factory.BeanCreationException.getMostSpecificCause:()Ljava/lang/Throwable;
astore 6
start local 6 32: aload 6
instanceof org.springframework.beans.factory.BeanCurrentlyInCreationException
ifeq 43
33: aload 6
checkcast org.springframework.beans.factory.BeanCreationException
astore 7
start local 7 34: aload 7
invokevirtual org.springframework.beans.factory.BeanCreationException.getBeanName:()Ljava/lang/String;
astore 8
start local 8 35: aload 8
ifnull 43
aload 4
aload 8
invokeinterface org.springframework.beans.factory.config.ConfigurableListableBeanFactory.isCurrentlyInCreation:(Ljava/lang/String;)Z
ifeq 43
36: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 42
37: aload 0
getfield org.springframework.beans.factory.wiring.BeanConfigurerSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Failed to create target bean '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual org.springframework.beans.factory.BeanCreationException.getBeanName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: ldc "' while configuring object of type ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
39: ldc "] - probably due to a circular reference. This is a common startup situation "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
40: ldc "and usually not fatal. Proceeding without injection. Original exception: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
42: StackMap locals: org.springframework.beans.factory.wiring.BeanConfigurerSupport java.lang.Object org.springframework.beans.factory.wiring.BeanWiringInfoResolver org.springframework.beans.factory.wiring.BeanWiringInfo org.springframework.beans.factory.config.ConfigurableListableBeanFactory org.springframework.beans.factory.BeanCreationException java.lang.Throwable org.springframework.beans.factory.BeanCreationException java.lang.String
StackMap stack:
return
end local 8 end local 7 43: StackMap locals:
StackMap stack:
aload 5
athrow
end local 6 end local 5 44: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/springframework/beans/factory/wiring/BeanConfigurerSupport;
0 45 1 beanInstance Ljava/lang/Object;
8 45 2 bwiResolver Lorg/springframework/beans/factory/wiring/BeanWiringInfoResolver;
12 45 3 bwi Lorg/springframework/beans/factory/wiring/BeanWiringInfo;
15 45 4 beanFactory Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;
19 29 5 beanName Ljava/lang/String;
31 44 5 ex Lorg/springframework/beans/factory/BeanCreationException;
32 44 6 rootCause Ljava/lang/Throwable;
34 43 7 bce Lorg/springframework/beans/factory/BeanCreationException;
35 43 8 bceBeanName Ljava/lang/String;
Exception table:
from to target type
18 29 30 Class org.springframework.beans.factory.BeanCreationException
MethodParameters:
Name Flags
beanInstance
}
SourceFile: "BeanConfigurerSupport.java"