public class org.springframework.context.support.SimpleThreadScope implements org.springframework.beans.factory.config.Scope
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.support.SimpleThreadScope
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.ThreadLocal<java.util.Map<java.lang.String, java.lang.Object>> threadScope;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/context/support/SimpleThreadScope;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.context.support.SimpleThreadScope.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new org.springframework.context.support.SimpleThreadScope$1
dup
aload 0
ldc "SimpleThreadScope"
invokespecial org.springframework.context.support.SimpleThreadScope$1.<init>:(Lorg/springframework/context/support/SimpleThreadScope;Ljava/lang/String;)V
putfield org.springframework.context.support.SimpleThreadScope.threadScope:Ljava/lang/ThreadLocal;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/context/support/SimpleThreadScope;
public get(java.lang.String, org.springframework.beans.factory.ObjectFactory<?>);
descriptor: (Ljava/lang/String;Lorg/springframework/beans/factory/ObjectFactory;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.context.support.SimpleThreadScope.threadScope:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 1: aload 3
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 4
ifnonnull 5
3: aload 2
invokeinterface org.springframework.beans.factory.ObjectFactory.getObject:()Ljava/lang/Object;
astore 4
4: aload 3
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Map java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/context/support/SimpleThreadScope;
0 6 1 name Ljava/lang/String;
0 6 2 objectFactory Lorg/springframework/beans/factory/ObjectFactory<*>;
1 6 3 scope Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
2 6 4 scopedObject Ljava/lang/Object;
Signature: (Ljava/lang/String;Lorg/springframework/beans/factory/ObjectFactory<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
name
objectFactory
public java.lang.Object remove(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.support.SimpleThreadScope.threadScope:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: aload 2
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/SimpleThreadScope;
0 2 1 name Ljava/lang/String;
1 2 2 scope Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
public void registerDestructionCallback(java.lang.String, java.lang.Runnable);
descriptor: (Ljava/lang/String;Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.springframework.context.support.SimpleThreadScope.logger:Lorg/apache/commons/logging/Log;
ldc "SimpleThreadScope does not support destruction callbacks. Consider using RequestScope in a web environment."
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/SimpleThreadScope;
0 2 1 name Ljava/lang/String;
0 2 2 callback Ljava/lang/Runnable;
MethodParameters:
Name Flags
name
callback
public java.lang.Object resolveContextualObject(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/SimpleThreadScope;
0 1 1 key Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
key
public java.lang.String getConversationId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/SimpleThreadScope;
}
SourceFile: "SimpleThreadScope.java"
NestMembers:
org.springframework.context.support.SimpleThreadScope$1
InnerClasses:
org.springframework.context.support.SimpleThreadScope$1