public abstract class org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource implements org.springframework.aop.TargetSource, org.springframework.aop.target.dynamic.Refreshable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource
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
protected java.lang.Object targetObject;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private long refreshCheckDelay;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long lastRefreshCheck;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long lastRefreshTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long refreshCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.aop.target.dynamic.AbstractRefreshableTargetSource.logger:Lorg/apache/commons/logging/Log;
2: aload 0
ldc -1
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCheckDelay:J
3: aload 0
ldc -1
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshCheck:J
4: aload 0
ldc -1
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshTime:J
5: aload 0
lconst_0
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCount:J
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
public void setRefreshCheckDelay(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.dynamic.AbstractRefreshableTargetSource.refreshCheckDelay:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
0 2 1 refreshCheckDelay J
MethodParameters:
Name Flags
refreshCheckDelay
public synchronized java.lang.Class<?> getTargetClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.targetObject:Ljava/lang/Object;
ifnonnull 2
1: aload 0
invokevirtual org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refresh:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.targetObject:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
Signature: ()Ljava/lang/Class<*>;
public boolean isStatic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
public final synchronized java.lang.Object getTarget();
descriptor: ()Ljava/lang/Object;
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCheckDelayElapsed:()Z
ifeq 1
aload 0
invokevirtual org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.requiresRefresh:()Z
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.targetObject:Ljava/lang/Object;
ifnonnull 3
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refresh:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.targetObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void releaseTarget(java.lang.Object);
descriptor: (Ljava/lang/Object;)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/dynamic/AbstractRefreshableTargetSource;
0 1 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public final synchronized void refresh();
descriptor: ()V
flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.logger:Lorg/apache/commons/logging/Log;
ldc "Attempting to refresh target"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
1: aload 0
aload 0
invokevirtual org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.freshTarget:()Ljava/lang/Object;
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.targetObject:Ljava/lang/Object;
2: aload 0
dup
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCount:J
lconst_1
ladd
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCount:J
3: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshTime:J
4: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.logger:Lorg/apache/commons/logging/Log;
ldc "Target refreshed successfully"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
public synchronized long getRefreshCount();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCount:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
public synchronized long getLastRefreshTime();
descriptor: ()J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
private boolean refreshCheckDelayElapsed();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCheckDelay:J
lconst_0
lcmp
ifge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 3: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshCheck:J
lconst_0
lcmp
iflt 4
lload 1
aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshCheck:J
lsub
aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.refreshCheckDelay:J
lcmp
ifle 7
4: StackMap locals: long
StackMap stack:
aload 0
lload 1
putfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.lastRefreshCheck:J
5: aload 0
getfield org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource.logger:Lorg/apache/commons/logging/Log;
ldc "Refresh check delay elapsed - checking whether refresh is required"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/aop/target/dynamic/AbstractRefreshableTargetSource;
3 8 1 currentTimeMillis J
protected boolean requiresRefresh();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
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/aop/target/dynamic/AbstractRefreshableTargetSource;
protected abstract java.lang.Object freshTarget();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
}
SourceFile: "AbstractRefreshableTargetSource.java"