public class ch.qos.logback.classic.jmx.JMXConfigurator extends ch.qos.logback.core.spi.ContextAwareBase implements ch.qos.logback.classic.jmx.JMXConfiguratorMBean, ch.qos.logback.classic.spi.LoggerContextListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.classic.jmx.JMXConfigurator
super_class: ch.qos.logback.core.spi.ContextAwareBase
{
private static java.lang.String EMPTY;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
ch.qos.logback.classic.LoggerContext loggerContext;
descriptor: Lch/qos/logback/classic/LoggerContext;
flags: (0x0000)
javax.management.MBeanServer mbs;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0000)
javax.management.ObjectName objectName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0000)
java.lang.String objectNameAsString;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean debug;
descriptor: Z
flags: (0x0000)
boolean started;
descriptor: Z
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc ""
putstatic ch.qos.logback.classic.jmx.JMXConfigurator.EMPTY:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(ch.qos.logback.classic.LoggerContext, javax.management.MBeanServer, javax.management.ObjectName);
descriptor: (Lch/qos/logback/classic/LoggerContext;Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial ch.qos.logback.core.spi.ContextAwareBase.<init>:()V
1: aload 0
iconst_1
putfield ch.qos.logback.classic.jmx.JMXConfigurator.debug:Z
2: aload 0
iconst_1
putfield ch.qos.logback.classic.jmx.JMXConfigurator.started:Z
3: aload 0
aload 1
putfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
4: aload 0
aload 1
putfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
5: aload 0
aload 2
putfield ch.qos.logback.classic.jmx.JMXConfigurator.mbs:Ljavax/management/MBeanServer;
6: aload 0
aload 3
putfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
7: aload 0
aload 3
invokevirtual javax.management.ObjectName.toString:()Ljava/lang/String;
putfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
8: aload 0
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.previouslyRegisteredListenerWithSameObjectName:()Z
ifeq 11
9: aload 0
new java.lang.StringBuilder
dup
ldc "Previously registered JMXConfigurator named ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] in the logger context named ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual ch.qos.logback.classic.LoggerContext.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addError:(Ljava/lang/String;)V
10: goto 12
11: StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator ch.qos.logback.classic.LoggerContext javax.management.MBeanServer javax.management.ObjectName
StackMap stack:
aload 1
aload 0
invokevirtual ch.qos.logback.classic.LoggerContext.addListener:(Lch/qos/logback/classic/spi/LoggerContextListener;)V
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 13 1 loggerContext Lch/qos/logback/classic/LoggerContext;
0 13 2 mbs Ljavax/management/MBeanServer;
0 13 3 objectName Ljavax/management/ObjectName;
MethodParameters:
Name Flags
loggerContext
mbs
objectName
private boolean previouslyRegisteredListenerWithSameObjectName();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.getCopyOfListenerList:()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.classic.spi.LoggerContextListener
astore 2
start local 2 3: aload 2
instanceof ch.qos.logback.classic.jmx.JMXConfigurator
ifeq 7
4: aload 2
checkcast ch.qos.logback.classic.jmx.JMXConfigurator
astore 4
start local 4 5: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
aload 4
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
1 9 1 lcll Ljava/util/List<Lch/qos/logback/classic/spi/LoggerContextListener;>;
3 7 2 lcl Lch/qos/logback/classic/spi/LoggerContextListener;
5 7 4 jmxConfigurator Lch/qos/logback/classic/jmx/JMXConfigurator;
public void reloadDefaultConfiguration();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new ch.qos.logback.classic.util.ContextInitializer
dup
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokespecial ch.qos.logback.classic.util.ContextInitializer.<init>:(Lch/qos/logback/classic/LoggerContext;)V
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual ch.qos.logback.classic.util.ContextInitializer.findURLOfDefaultConfigurationFile:(Z)Ljava/net/URL;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.reloadByURL:(Ljava/net/URL;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
1 4 1 ci Lch/qos/logback/classic/util/ContextInitializer;
2 4 2 url Ljava/net/URL;
Exceptions:
throws ch.qos.logback.core.joran.spi.JoranException
public void reloadByFileName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 7
aload 2
invokevirtual java.io.File.isFile:()Z
ifeq 7
2: aload 2
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.reloadByURL:(Ljava/net/URL;)V
4: goto 10
end local 3 StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator java.lang.String java.io.File
StackMap stack: java.net.MalformedURLException
5: astore 4
start local 4 6: new java.lang.RuntimeException
dup
ldc "Unexpected MalformedURLException occured. See nexted cause."
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Could not find ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 8: aload 0
aload 3
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
9: new java.io.FileNotFoundException
dup
aload 3
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 11 1 fileName Ljava/lang/String;
1 11 2 f Ljava/io/File;
3 5 3 url Ljava/net/URL;
6 7 4 e Ljava/net/MalformedURLException;
8 10 3 errMsg Ljava/lang/String;
Exception table:
from to target type
2 4 5 Class java.net.MalformedURLException
Exceptions:
throws ch.qos.logback.core.joran.spi.JoranException, java.io.FileNotFoundException
MethodParameters:
Name Flags
fileName
void addStatusListener(ch.qos.logback.core.status.StatusListener);
descriptor: (Lch/qos/logback/core/status/StatusListener;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface ch.qos.logback.core.status.StatusManager.add:(Lch/qos/logback/core/status/StatusListener;)Z
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 3 1 statusListener Lch/qos/logback/core/status/StatusListener;
1 3 2 sm Lch/qos/logback/core/status/StatusManager;
MethodParameters:
Name Flags
statusListener
void removeStatusListener(ch.qos.logback.core.status.StatusListener);
descriptor: (Lch/qos/logback/core/status/StatusListener;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface ch.qos.logback.core.status.StatusManager.remove:(Lch/qos/logback/core/status/StatusListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 3 1 statusListener Lch/qos/logback/core/status/StatusListener;
1 3 2 sm Lch/qos/logback/core/status/StatusManager;
MethodParameters:
Name Flags
statusListener
public void reloadByURL(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new ch.qos.logback.core.status.StatusListenerAsList
dup
invokespecial ch.qos.logback.core.status.StatusListenerAsList.<init>:()V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addStatusListener:(Lch/qos/logback/core/status/StatusListener;)V
2: aload 0
new java.lang.StringBuilder
dup
ldc "Resetting context: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
3: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.reset:()V
4: aload 0
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addStatusListener:(Lch/qos/logback/core/status/StatusListener;)V
5: aload 1
ifnull 16
6: new ch.qos.logback.classic.joran.JoranConfigurator
dup
invokespecial ch.qos.logback.classic.joran.JoranConfigurator.<init>:()V
astore 3
start local 3 7: aload 3
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.joran.JoranConfigurator.setContext:(Lch/qos/logback/core/Context;)V
8: aload 3
aload 1
invokevirtual ch.qos.logback.classic.joran.JoranConfigurator.doConfigure:(Ljava/net/URL;)V
9: aload 0
new java.lang.StringBuilder
dup
ldc "Context: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
invokevirtual ch.qos.logback.classic.LoggerContext.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " reloaded."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
end local 3 10: goto 16
StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator java.net.URL ch.qos.logback.core.status.StatusListenerAsList
StackMap stack: java.lang.Throwable
11: astore 4
12: aload 0
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.removeStatusListener:(Lch/qos/logback/core/status/StatusListener;)V
13: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.debug:Z
ifeq 15
14: aload 2
invokevirtual ch.qos.logback.core.status.StatusListenerAsList.getStatusList:()Ljava/util/List;
invokestatic ch.qos.logback.core.util.StatusPrinter.print:(Ljava/util/List;)V
15: StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator java.net.URL ch.qos.logback.core.status.StatusListenerAsList top java.lang.Throwable
StackMap stack:
aload 4
athrow
16: StackMap locals: ch.qos.logback.classic.jmx.JMXConfigurator java.net.URL ch.qos.logback.core.status.StatusListenerAsList
StackMap stack:
aload 0
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.removeStatusListener:(Lch/qos/logback/core/status/StatusListener;)V
17: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.debug:Z
ifeq 19
18: aload 2
invokevirtual ch.qos.logback.core.status.StatusListenerAsList.getStatusList:()Ljava/util/List;
invokestatic ch.qos.logback.core.util.StatusPrinter.print:(Ljava/util/List;)V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 20 1 url Ljava/net/URL;
1 20 2 statusListenerAsList Lch/qos/logback/core/status/StatusListenerAsList;
7 10 3 configurator Lch/qos/logback/classic/joran/JoranConfigurator;
Exception table:
from to target type
5 11 11 any
Exceptions:
throws ch.qos.logback.core.joran.spi.JoranException
MethodParameters:
Name Flags
url
public void setLoggerLevel(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
5: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
6: aload 0
new java.lang.StringBuilder
dup
ldc "Trying to set level "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to logger "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
7: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
checkcast ch.qos.logback.classic.LoggerContext
astore 3
start local 3 8: aload 3
aload 1
invokevirtual ch.qos.logback.classic.LoggerContext.getLogger:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 4
start local 4 9: ldc "null"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 4
aconst_null
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
11: goto 15
12: StackMap locals: ch.qos.logback.classic.LoggerContext ch.qos.logback.classic.Logger
StackMap stack:
aload 2
aconst_null
invokestatic ch.qos.logback.classic.Level.toLevel:(Ljava/lang/String;Lch/qos/logback/classic/Level;)Lch/qos/logback/classic/Level;
astore 5
start local 5 13: aload 5
ifnull 15
14: aload 4
aload 5
invokevirtual ch.qos.logback.classic.Logger.setLevel:(Lch/qos/logback/classic/Level;)V
end local 5 15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 16 1 loggerName Ljava/lang/String;
0 16 2 levelStr Ljava/lang/String;
8 16 3 lc Lch/qos/logback/classic/LoggerContext;
9 16 4 logger Lch/qos/logback/classic/Logger;
13 15 5 level Lch/qos/logback/classic/Level;
MethodParameters:
Name Flags
loggerName
levelStr
public java.lang.String getLoggerLevel(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic ch.qos.logback.classic.jmx.JMXConfigurator.EMPTY:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
checkcast ch.qos.logback.classic.LoggerContext
astore 2
start local 2 4: aload 2
aload 1
invokevirtual ch.qos.logback.classic.LoggerContext.exists:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 3
start local 3 5: aload 3
ifnull 7
aload 3
invokevirtual ch.qos.logback.classic.Logger.getLevel:()Lch/qos/logback/classic/Level;
ifnull 7
6: aload 3
invokevirtual ch.qos.logback.classic.Logger.getLevel:()Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Level.toString:()Ljava/lang/String;
areturn
7: StackMap locals: ch.qos.logback.classic.LoggerContext ch.qos.logback.classic.Logger
StackMap stack:
getstatic ch.qos.logback.classic.jmx.JMXConfigurator.EMPTY:Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 8 1 loggerName Ljava/lang/String;
4 8 2 lc Lch/qos/logback/classic/LoggerContext;
5 8 3 logger Lch/qos/logback/classic/Logger;
MethodParameters:
Name Flags
loggerName
public java.lang.String getLoggerEffectiveLevel(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic ch.qos.logback.classic.jmx.JMXConfigurator.EMPTY:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
checkcast ch.qos.logback.classic.LoggerContext
astore 2
start local 2 4: aload 2
aload 1
invokevirtual ch.qos.logback.classic.LoggerContext.exists:(Ljava/lang/String;)Lch/qos/logback/classic/Logger;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
invokevirtual ch.qos.logback.classic.Logger.getEffectiveLevel:()Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Level.toString:()Ljava/lang/String;
areturn
7: StackMap locals: ch.qos.logback.classic.LoggerContext ch.qos.logback.classic.Logger
StackMap stack:
getstatic ch.qos.logback.classic.jmx.JMXConfigurator.EMPTY:Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 8 1 loggerName Ljava/lang/String;
4 8 2 lc Lch/qos/logback/classic/LoggerContext;
5 8 3 logger Lch/qos/logback/classic/Logger;
MethodParameters:
Name Flags
loggerName
public java.util.List<java.lang.String> getLoggerList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
checkcast ch.qos.logback.classic.LoggerContext
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
invokevirtual ch.qos.logback.classic.LoggerContext.getLoggerList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 6
4: StackMap locals: ch.qos.logback.classic.LoggerContext java.util.List java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.classic.Logger
astore 4
start local 4 5: aload 2
aload 4
invokevirtual ch.qos.logback.classic.Logger.getName:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
1 8 1 lc Lch/qos/logback/classic/LoggerContext;
2 8 2 strList Ljava/util/List<Ljava/lang/String;>;
3 8 3 it Ljava/util/Iterator<Lch/qos/logback/classic/Logger;>;
5 6 4 log Lch/qos/logback/classic/Logger;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getStatuses();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getStatusManager:()Lch/qos/logback/core/status/StatusManager;
invokeinterface ch.qos.logback.core.status.StatusManager.getCopyOfStatusList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast ch.qos.logback.core.status.Status
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
5: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
1 6 1 list Ljava/util/List<Ljava/lang/String;>;
2 6 2 it Ljava/util/Iterator<Lch/qos/logback/core/status/Status;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void onStop(ch.qos.logback.classic.LoggerContext);
descriptor: (Lch/qos/logback/classic/LoggerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.started:Z
ifne 3
1: aload 0
new java.lang.StringBuilder
dup
ldc "onStop() method called on a stopped JMXActivator ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.mbs:Ljavax/management/MBeanServer;
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifeq 13
4: aload 0
new java.lang.StringBuilder
dup
ldc "Unregistering mbean ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
5: aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.mbs:Ljavax/management/MBeanServer;
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
6: goto 14
StackMap locals:
StackMap stack: javax.management.InstanceNotFoundException
7: astore 2
start local 2 8: aload 0
new java.lang.StringBuilder
dup
ldc "Unable to find a verifiably registered mbean ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 9: goto 14
10: StackMap locals:
StackMap stack: javax.management.MBeanRegistrationException
astore 2
start local 2 11: aload 0
new java.lang.StringBuilder
dup
ldc "Failed to unregister ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "mbean ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] was not in the mbean registry. This is OK."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.stop:()V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 16 1 context Lch/qos/logback/classic/LoggerContext;
8 9 2 e Ljavax/management/InstanceNotFoundException;
11 12 2 e Ljavax/management/MBeanRegistrationException;
Exception table:
from to target type
4 6 7 Class javax.management.InstanceNotFoundException
4 6 10 Class javax.management.MBeanRegistrationException
MethodParameters:
Name Flags
context
public void onLevelChange(ch.qos.logback.classic.Logger, ch.qos.logback.classic.Level);
descriptor: (Lch/qos/logback/classic/Logger;Lch/qos/logback/classic/Level;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 1 1 logger Lch/qos/logback/classic/Logger;
0 1 2 level Lch/qos/logback/classic/Level;
MethodParameters:
Name Flags
logger
level
public void onReset(ch.qos.logback.classic.LoggerContext);
descriptor: (Lch/qos/logback/classic/LoggerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "onReset() method called JMXActivator ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.objectNameAsString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.addInfo:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
0 2 1 context Lch/qos/logback/classic/LoggerContext;
MethodParameters:
Name Flags
context
public boolean isResetResistant();
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 Lch/qos/logback/classic/jmx/JMXConfigurator;
private void clearFields();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield ch.qos.logback.classic.jmx.JMXConfigurator.mbs:Ljavax/management/MBeanServer;
1: aload 0
aconst_null
putfield ch.qos.logback.classic.jmx.JMXConfigurator.objectName:Ljavax/management/ObjectName;
2: aload 0
aconst_null
putfield ch.qos.logback.classic.jmx.JMXConfigurator.loggerContext:Lch/qos/logback/classic/LoggerContext;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
private void stop();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield ch.qos.logback.classic.jmx.JMXConfigurator.started:Z
1: aload 0
invokevirtual ch.qos.logback.classic.jmx.JMXConfigurator.clearFields:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
public void onStart(ch.qos.logback.classic.LoggerContext);
descriptor: (Lch/qos/logback/classic/LoggerContext;)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 Lch/qos/logback/classic/jmx/JMXConfigurator;
0 1 1 context Lch/qos/logback/classic/LoggerContext;
MethodParameters:
Name Flags
context
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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;
aload 0
getfield ch.qos.logback.classic.jmx.JMXConfigurator.context:Lch/qos/logback/core/Context;
invokeinterface ch.qos.logback.core.Context.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lch/qos/logback/classic/jmx/JMXConfigurator;
}
SourceFile: "JMXConfigurator.java"