public abstract class org.springframework.scheduling.annotation.AbstractAsyncConfiguration implements org.springframework.context.annotation.ImportAware
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.scheduling.annotation.AbstractAsyncConfiguration
super_class: java.lang.Object
{
protected org.springframework.core.annotation.AnnotationAttributes enableAsync;
descriptor: Lorg/springframework/core/annotation/AnnotationAttributes;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<java.util.concurrent.Executor> executor;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Ljava/util/concurrent/Executor;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
protected java.util.function.Supplier<org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler> exceptionHandler;
descriptor: Ljava/util/function/Supplier;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Supplier<Lorg/springframework/aop/interceptor/AsyncUncaughtExceptionHandler;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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/annotation/AbstractAsyncConfiguration;
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/core/type/AnnotationMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
ldc Lorg/springframework/scheduling/annotation/EnableAsync;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_0
invokeinterface org.springframework.core.type.AnnotationMetadata.getAnnotationAttributes:(Ljava/lang/String;Z)Ljava/util/Map;
2: invokestatic org.springframework.core.annotation.AnnotationAttributes.fromMap:(Ljava/util/Map;)Lorg/springframework/core/annotation/AnnotationAttributes;
putfield org.springframework.scheduling.annotation.AbstractAsyncConfiguration.enableAsync:Lorg/springframework/core/annotation/AnnotationAttributes;
3: aload 0
getfield org.springframework.scheduling.annotation.AbstractAsyncConfiguration.enableAsync:Lorg/springframework/core/annotation/AnnotationAttributes;
ifnonnull 7
4: new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "@EnableAsync is not present on importing class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/scheduling/annotation/AbstractAsyncConfiguration;
0 8 1 importMetadata Lorg/springframework/core/type/AnnotationMetadata;
MethodParameters:
Name Flags
importMetadata
void setConfigurers(java.util.Collection<org.springframework.scheduling.annotation.AsyncConfigurer>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 4
3: new java.lang.IllegalStateException
dup
ldc "Only one AsyncConfigurer may exist"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.scheduling.annotation.AsyncConfigurer
astore 2
start local 2 5: aload 0
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/scheduling/annotation/AsyncConfigurer;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/scheduling/annotation/AsyncConfigurer.getAsyncExecutor()Ljava/util/concurrent/Executor; (9 itf)
()Ljava/util/concurrent/Executor;
putfield org.springframework.scheduling.annotation.AbstractAsyncConfiguration.executor:Ljava/util/function/Supplier;
6: aload 0
aload 2
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lorg/springframework/scheduling/annotation/AsyncConfigurer;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/springframework/scheduling/annotation/AsyncConfigurer.getAsyncUncaughtExceptionHandler()Lorg/springframework/aop/interceptor/AsyncUncaughtExceptionHandler; (9 itf)
()Lorg/springframework/aop/interceptor/AsyncUncaughtExceptionHandler;
putfield org.springframework.scheduling.annotation.AbstractAsyncConfiguration.exceptionHandler:Ljava/util/function/Supplier;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/scheduling/annotation/AbstractAsyncConfiguration;
0 8 1 configurers Ljava/util/Collection<Lorg/springframework/scheduling/annotation/AsyncConfigurer;>;
5 8 2 configurer Lorg/springframework/scheduling/annotation/AsyncConfigurer;
Signature: (Ljava/util/Collection<Lorg/springframework/scheduling/annotation/AsyncConfigurer;>;)V
RuntimeVisibleAnnotations:
org.springframework.beans.factory.annotation.Autowired(required = false)
MethodParameters:
Name Flags
configurers
}
SourceFile: "AbstractAsyncConfiguration.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Configuration(proxyBeanMethods = false)