public class org.springframework.scheduling.config.TaskExecutorFactoryBean implements org.springframework.beans.factory.FactoryBean<org.springframework.core.task.TaskExecutor>, org.springframework.beans.factory.BeanNameAware, 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.scheduling.config.TaskExecutorFactoryBean
super_class: java.lang.Object
{
private java.lang.String poolSize;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.Integer queueCapacity;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler;
descriptor: Ljava/util/concurrent/RejectedExecutionHandler;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.Integer keepAliveSeconds;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String beanName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor target;
descriptor: Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
flags: (0x0002) ACC_PRIVATE
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/config/TaskExecutorFactoryBean;
public void setPoolSize(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 2 1 poolSize Ljava/lang/String;
MethodParameters:
Name Flags
poolSize
public void setQueueCapacity(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.queueCapacity:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 2 1 queueCapacity I
MethodParameters:
Name Flags
queueCapacity
public void setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler);
descriptor: (Ljava/util/concurrent/RejectedExecutionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.rejectedExecutionHandler:Ljava/util/concurrent/RejectedExecutionHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 2 1 rejectedExecutionHandler Ljava/util/concurrent/RejectedExecutionHandler;
MethodParameters:
Name Flags
rejectedExecutionHandler
public void setKeepAliveSeconds(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.keepAliveSeconds:Ljava/lang/Integer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 2 1 keepAliveSeconds I
MethodParameters:
Name Flags
keepAliveSeconds
public void setBeanName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.beanName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 2 1 beanName Ljava/lang/String;
MethodParameters:
Name Flags
beanName
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
dup
invokespecial org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.springframework.scheduling.config.TaskExecutorFactoryBean.determinePoolSizeRange:(Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;)V
2: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.queueCapacity:Ljava/lang/Integer;
ifnull 4
3: aload 1
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.queueCapacity:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setQueueCapacity:(I)V
4: StackMap locals: org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
StackMap stack:
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.keepAliveSeconds:Ljava/lang/Integer;
ifnull 6
5: aload 1
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.keepAliveSeconds:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setKeepAliveSeconds:(I)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.rejectedExecutionHandler:Ljava/util/concurrent/RejectedExecutionHandler;
ifnull 8
7: aload 1
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.rejectedExecutionHandler:Ljava/util/concurrent/RejectedExecutionHandler;
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setRejectedExecutionHandler:(Ljava/util/concurrent/RejectedExecutionHandler;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.beanName:Ljava/lang/String;
ifnull 10
9: aload 1
new java.lang.StringBuilder
dup
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.beanName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setThreadNamePrefix:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.afterPropertiesSet:()V
11: aload 0
aload 1
putfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
1 13 1 executor Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
private void determinePoolSizeRange(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor);
descriptor: (Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 27
1: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpeq 17
3: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 4: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
iload 4
iconst_1
iadd
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 5: iload 2
iload 3
if_icmple 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "Lower bound of pool-size range must not exceed the upper bound"
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.queueCapacity:Ljava/lang/Integer;
ifnonnull 20
10: iload 2
ifne 14
11: aload 1
iconst_1
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setAllowCoreThreadTimeOut:(Z)V
12: iload 3
istore 2
13: goto 20
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
15: ldc "A non-zero lower bound for the size range requires a queue-capacity value"
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 17: StackMap locals: org.springframework.scheduling.config.TaskExecutorFactoryBean org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor top top int
StackMap stack:
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
astore 5
start local 5 18: aload 5
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 19: aload 5
invokevirtual java.lang.Integer.intValue:()I
istore 3
end local 5 start local 3 20: StackMap locals: org.springframework.scheduling.config.TaskExecutorFactoryBean org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor int int int
StackMap stack:
aload 1
iload 2
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setCorePoolSize:(I)V
21: aload 1
iload 3
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.setMaxPoolSize:(I)V
end local 4 end local 3 end local 2 22: goto 27
23: StackMap locals: org.springframework.scheduling.config.TaskExecutorFactoryBean org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
StackMap stack: java.lang.NumberFormatException
astore 2
start local 2 24: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid pool-size value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.poolSize:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: only single "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc "maximum integer (e.g. \"5\") and minimum-maximum range (e.g. \"3-5\") are supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
26: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 27: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
0 28 1 executor Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
4 17 2 corePoolSize I
19 22 2 corePoolSize I
5 17 3 maxPoolSize I
20 22 3 maxPoolSize I
2 22 4 separatorIndex I
18 20 5 value Ljava/lang/Integer;
24 27 2 ex Ljava/lang/NumberFormatException;
Exception table:
from to target type
1 22 23 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
executor
public org.springframework.core.task.TaskExecutor getObject();
descriptor: ()Lorg/springframework/core/task/TaskExecutor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<? extends org.springframework.core.task.TaskExecutor> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
ifnull 1
aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: ldc Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
Signature: ()Ljava/lang/Class<+Lorg/springframework/core/task/TaskExecutor;>;
public boolean isSingleton();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
ifnull 2
1: aload 0
getfield org.springframework.scheduling.config.TaskExecutorFactoryBean.target:Lorg/springframework/scheduling/concurrent/ThreadPoolTaskExecutor;
invokevirtual org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.destroy:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scheduling/config/TaskExecutorFactoryBean;
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.scheduling.config.TaskExecutorFactoryBean.getObject:()Lorg/springframework/core/task/TaskExecutor;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Lorg/springframework/core/task/TaskExecutor;>;Lorg/springframework/beans/factory/BeanNameAware;Lorg/springframework/beans/factory/InitializingBean;Lorg/springframework/beans/factory/DisposableBean;
SourceFile: "TaskExecutorFactoryBean.java"