public class org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar implements org.springframework.context.ApplicationContextAware, org.springframework.context.event.GenericApplicationListener, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar
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 org.springframework.context.ConfigurableApplicationContext applicationContext;
descriptor: Lorg/springframework/context/ConfigurableApplicationContext;
flags: (0x0002) ACC_PRIVATE
private org.springframework.core.env.Environment environment;
descriptor: Lorg/springframework/core/env/Environment;
flags: (0x0002) ACC_PRIVATE
private final javax.management.ObjectName objectName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean ready;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean embeddedWebApplication;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.core.env.StandardEnvironment
dup
invokespecial org.springframework.core.env.StandardEnvironment.<init>:()V
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.environment:Lorg/springframework/core/env/Environment;
2: aload 0
iconst_0
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.ready:Z
3: aload 0
iconst_0
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.embeddedWebApplication:Z
4: aload 0
new javax.management.ObjectName
dup
aload 1
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.objectName:Ljavax/management/ObjectName;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 6 1 name Ljava/lang/String;
Exceptions:
throws javax.management.MalformedObjectNameException
MethodParameters:
Name Flags
name
public void setApplicationContext(org.springframework.context.ApplicationContext);
descriptor: (Lorg/springframework/context/ApplicationContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.context.ConfigurableApplicationContext
1: ldc "ApplicationContext does not implement ConfigurableApplicationContext"
2: invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
aload 1
checkcast org.springframework.context.ConfigurableApplicationContext
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.applicationContext:Lorg/springframework/context/ConfigurableApplicationContext;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 5 1 applicationContext Lorg/springframework/context/ApplicationContext;
Exceptions:
throws org.springframework.beans.BeansException
MethodParameters:
Name Flags
applicationContext
public void setEnvironment(org.springframework.core.env.Environment);
descriptor: (Lorg/springframework/core/env/Environment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.environment:Lorg/springframework/core/env/Environment;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 2 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
public boolean supportsEventType(org.springframework.core.ResolvableType);
descriptor: (Lorg/springframework/core/ResolvableType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.springframework.core.ResolvableType.getRawClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
ldc Lorg/springframework/boot/context/event/ApplicationReadyEvent;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
4: ldc Lorg/springframework/boot/web/context/WebServerInitializedEvent;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 7 1 eventType Lorg/springframework/core/ResolvableType;
1 7 2 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
eventType
public boolean supportsSourceType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)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/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 1 1 sourceType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
sourceType
public void onApplicationEvent(org.springframework.context.ApplicationEvent);
descriptor: (Lorg/springframework/context/ApplicationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.boot.context.event.ApplicationReadyEvent
ifeq 2
1: aload 0
aload 1
checkcast org.springframework.boot.context.event.ApplicationReadyEvent
invokevirtual org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.onApplicationReadyEvent:(Lorg/springframework/boot/context/event/ApplicationReadyEvent;)V
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.boot.web.context.WebServerInitializedEvent
ifeq 4
3: aload 0
aload 1
checkcast org.springframework.boot.web.context.WebServerInitializedEvent
invokevirtual org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.onWebServerInitializedEvent:(Lorg/springframework/boot/web/context/WebServerInitializedEvent;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 5 1 event Lorg/springframework/context/ApplicationEvent;
MethodParameters:
Name Flags
event
public int getOrder();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc -2147483648
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
void onApplicationReadyEvent(org.springframework.boot.context.event.ApplicationReadyEvent);
descriptor: (Lorg/springframework/boot/context/event/ApplicationReadyEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.applicationContext:Lorg/springframework/context/ConfigurableApplicationContext;
aload 1
invokevirtual org.springframework.boot.context.event.ApplicationReadyEvent.getApplicationContext:()Lorg/springframework/context/ConfigurableApplicationContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
iconst_1
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.ready:Z
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 3 1 event Lorg/springframework/boot/context/event/ApplicationReadyEvent;
MethodParameters:
Name Flags
event
void onWebServerInitializedEvent(org.springframework.boot.web.context.WebServerInitializedEvent);
descriptor: (Lorg/springframework/boot/web/context/WebServerInitializedEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.applicationContext:Lorg/springframework/context/ConfigurableApplicationContext;
aload 1
invokevirtual org.springframework.boot.web.context.WebServerInitializedEvent.getApplicationContext:()Lorg/springframework/boot/web/context/WebServerApplicationContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
iconst_1
putfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.embeddedWebApplication:Z
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
0 3 1 event Lorg/springframework/boot/web/context/WebServerInitializedEvent;
MethodParameters:
Name Flags
event
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 1
start local 1 1: aload 1
new org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin
dup
aload 0
invokespecial org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin.<init>:(Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;)V
aload 0
getfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.objectName:Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServer.registerMBean:(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;
pop
2: getstatic org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 4
3: getstatic org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Application Admin MBean registered with name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.objectName:Ljavax/management/ObjectName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
4: StackMap locals: javax.management.MBeanServer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
1 5 1 server Ljavax/management/MBeanServer;
Exceptions:
throws java.lang.Exception
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
aload 0
getfield org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar.objectName:Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServer.unregisterMBean:(Ljavax/management/ObjectName;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/admin/SpringApplicationAdminMXBeanRegistrar;
Exceptions:
throws java.lang.Exception
}
SourceFile: "SpringApplicationAdminMXBeanRegistrar.java"
NestMembers:
org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin
InnerClasses:
private SpringApplicationAdmin = org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar$SpringApplicationAdmin of org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar