abstract class org.jboss.logging.AbstractMdcLoggerProvider extends org.jboss.logging.AbstractLoggerProvider
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.jboss.logging.AbstractMdcLoggerProvider
super_class: org.jboss.logging.AbstractLoggerProvider
{
private final java.lang.ThreadLocal<java.util.Map<java.lang.String, java.lang.Object>> mdcMap;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jboss.logging.AbstractLoggerProvider.<init>:()V
1: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
public void clearMdc();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.util.Map.clear:()V
3: StackMap locals: java.util.Map
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.lang.Object getMdc(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.util.Map<java.lang.String, java.lang.Object> getMdcMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 1: aload 1
ifnonnull 2
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.util.Map
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.lang.Object putMdc(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 1: aload 3
ifnonnull 4
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
3: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
aload 3
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: StackMap locals: java.util.Map
StackMap stack:
aload 3
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
0 5 1 key Ljava/lang/String;
0 5 2 value Ljava/lang/Object;
1 5 3 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
key
value
public void removeMdc(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.logging.AbstractMdcLoggerProvider.mdcMap:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: java.util.Map
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/logging/AbstractMdcLoggerProvider;
0 5 1 key Ljava/lang/String;
1 5 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
key
}
SourceFile: "AbstractMdcLoggerProvider.java"