public class org.springframework.aop.target.CommonsPool2TargetSource extends org.springframework.aop.target.AbstractPoolingTargetSource implements org.apache.commons.pool2.PooledObjectFactory<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.aop.target.CommonsPool2TargetSource
super_class: org.springframework.aop.target.AbstractPoolingTargetSource
{
private int maxIdle;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minIdle;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long maxWait;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long timeBetweenEvictionRunsMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long minEvictableIdleTimeMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean blockWhenExhausted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.commons.pool2.ObjectPool pool;
descriptor: Lorg/apache/commons/pool2/ObjectPool;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.aop.target.AbstractPoolingTargetSource.<init>:()V
1: aload 0
bipush 8
putfield org.springframework.aop.target.CommonsPool2TargetSource.maxIdle:I
2: aload 0
iconst_0
putfield org.springframework.aop.target.CommonsPool2TargetSource.minIdle:I
3: aload 0
ldc -1
putfield org.springframework.aop.target.CommonsPool2TargetSource.maxWait:J
4: aload 0
ldc -1
putfield org.springframework.aop.target.CommonsPool2TargetSource.timeBetweenEvictionRunsMillis:J
5: aload 0
ldc 1800000
putfield org.springframework.aop.target.CommonsPool2TargetSource.minEvictableIdleTimeMillis:J
6: aload 0
iconst_1
putfield org.springframework.aop.target.CommonsPool2TargetSource.blockWhenExhausted:Z
7: aload 0
bipush 8
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.setMaxSize:(I)V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setMaxIdle(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
putfield org.springframework.aop.target.CommonsPool2TargetSource.maxIdle:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 maxIdle I
MethodParameters:
Name Flags
maxIdle
public int getMaxIdle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.maxIdle:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setMinIdle(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
putfield org.springframework.aop.target.CommonsPool2TargetSource.minIdle:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 minIdle I
MethodParameters:
Name Flags
minIdle
public int getMinIdle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.minIdle:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setMaxWait(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.springframework.aop.target.CommonsPool2TargetSource.maxWait:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 maxWait J
MethodParameters:
Name Flags
maxWait
public long getMaxWait();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.maxWait:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setTimeBetweenEvictionRunsMillis(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.springframework.aop.target.CommonsPool2TargetSource.timeBetweenEvictionRunsMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 timeBetweenEvictionRunsMillis J
MethodParameters:
Name Flags
timeBetweenEvictionRunsMillis
public long getTimeBetweenEvictionRunsMillis();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.timeBetweenEvictionRunsMillis:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setMinEvictableIdleTimeMillis(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.springframework.aop.target.CommonsPool2TargetSource.minEvictableIdleTimeMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 minEvictableIdleTimeMillis J
MethodParameters:
Name Flags
minEvictableIdleTimeMillis
public long getMinEvictableIdleTimeMillis();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.minEvictableIdleTimeMillis:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
public void setBlockWhenExhausted(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.aop.target.CommonsPool2TargetSource.blockWhenExhausted:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 blockWhenExhausted Z
MethodParameters:
Name Flags
blockWhenExhausted
public boolean isBlockWhenExhausted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.blockWhenExhausted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
protected final void createPool();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.logger:Lorg/apache/commons/logging/Log;
ldc "Creating Commons object pool"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
1: aload 0
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.createObjectPool:()Lorg/apache/commons/pool2/ObjectPool;
putfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
protected org.apache.commons.pool2.ObjectPool createObjectPool();
descriptor: ()Lorg/apache/commons/pool2/ObjectPool;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.apache.commons.pool2.impl.GenericObjectPoolConfig
dup
invokespecial org.apache.commons.pool2.impl.GenericObjectPoolConfig.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getMaxSize:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMaxTotal:(I)V
2: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getMaxIdle:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMaxIdle:(I)V
3: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getMinIdle:()I
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMinIdle:(I)V
4: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getMaxWait:()J
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMaxWaitMillis:(J)V
5: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getTimeBetweenEvictionRunsMillis:()J
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setTimeBetweenEvictionRunsMillis:(J)V
6: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.getMinEvictableIdleTimeMillis:()J
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMinEvictableIdleTimeMillis:(J)V
7: aload 1
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.isBlockWhenExhausted:()Z
invokevirtual org.apache.commons.pool2.impl.GenericObjectPoolConfig.setBlockWhenExhausted:(Z)V
8: new org.apache.commons.pool2.impl.GenericObjectPool
dup
aload 0
aload 1
invokespecial org.apache.commons.pool2.impl.GenericObjectPool.<init>:(Lorg/apache/commons/pool2/PooledObjectFactory;Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
1 9 1 config Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;
public java.lang.Object getTarget();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No Commons ObjectPool available"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
invokeinterface org.apache.commons.pool2.ObjectPool.borrowObject:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
Exceptions:
throws java.lang.Exception
public void releaseTarget(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
ifnull 2
1: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
aload 1
invokeinterface org.apache.commons.pool2.ObjectPool.returnObject:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 3 1 target Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
target
public int getActiveCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
ifnull 1
aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
invokeinterface org.apache.commons.pool2.ObjectPool.getNumActive:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
Exceptions:
throws java.lang.UnsupportedOperationException
public int getIdleCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
ifnull 1
aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
invokeinterface org.apache.commons.pool2.ObjectPool.getNumIdle:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
Exceptions:
throws java.lang.UnsupportedOperationException
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
ifnull 3
1: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.logger:Lorg/apache/commons/logging/Log;
ldc "Closing Commons ObjectPool"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
2: aload 0
getfield org.springframework.aop.target.CommonsPool2TargetSource.pool:Lorg/apache/commons/pool2/ObjectPool;
invokeinterface org.apache.commons.pool2.ObjectPool.close:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
Exceptions:
throws java.lang.Exception
public org.apache.commons.pool2.PooledObject<java.lang.Object> makeObject();
descriptor: ()Lorg/apache/commons/pool2/PooledObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.pool2.impl.DefaultPooledObject
dup
aload 0
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.newPrototypeInstance:()Ljava/lang/Object;
invokespecial org.apache.commons.pool2.impl.DefaultPooledObject.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
Exceptions:
throws java.lang.Exception
Signature: ()Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;
public void destroyObject(org.apache.commons.pool2.PooledObject<java.lang.Object>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.apache.commons.pool2.PooledObject.getObject:()Ljava/lang/Object;
invokevirtual org.springframework.aop.target.CommonsPool2TargetSource.destroyPrototypeInstance:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 2 1 p Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;
Exceptions:
throws java.lang.Exception
Signature: (Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
p
public boolean validateObject(org.apache.commons.pool2.PooledObject<java.lang.Object>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 1 1 p Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;
Signature: (Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;)Z
MethodParameters:
Name Flags
p
public void activateObject(org.apache.commons.pool2.PooledObject<java.lang.Object>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 1 1 p Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;
Exceptions:
throws java.lang.Exception
Signature: (Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
p
public void passivateObject(org.apache.commons.pool2.PooledObject<java.lang.Object>);
descriptor: (Lorg/apache/commons/pool2/PooledObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/CommonsPool2TargetSource;
0 1 1 p Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;
Exceptions:
throws java.lang.Exception
Signature: (Lorg/apache/commons/pool2/PooledObject<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
p
}
Signature: Lorg/springframework/aop/target/AbstractPoolingTargetSource;Lorg/apache/commons/pool2/PooledObjectFactory<Ljava/lang/Object;>;
SourceFile: "CommonsPool2TargetSource.java"