public class org.springframework.context.annotation.MBeanExportConfiguration implements org.springframework.context.annotation.ImportAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.annotation.MBeanExportConfiguration
super_class: java.lang.Object
{
private static final java.lang.String MBEAN_EXPORTER_BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mbeanExporter"
private org.springframework.core.annotation.AnnotationAttributes enableMBeanExport;
descriptor: Lorg/springframework/core/annotation/AnnotationAttributes;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.core.env.Environment environment;
descriptor: Lorg/springframework/core/env/Environment;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.beans.factory.BeanFactory beanFactory;
descriptor: Lorg/springframework/beans/factory/BeanFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata);
descriptor: (Lorg/springframework/core/type/AnnotationMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/context/annotation/EnableMBeanExport;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.springframework.core.type.AnnotationMetadata.getAnnotationAttributes:(Ljava/lang/String;)Ljava/util/Map;
astore 2
start local 2 1: aload 0
aload 2
invokestatic org.springframework.core.annotation.AnnotationAttributes.fromMap:(Ljava/util/Map;)Lorg/springframework/core/annotation/AnnotationAttributes;
putfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
2: aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
ifnonnull 6
3: new java.lang.IllegalArgumentException
dup
4: new java.lang.StringBuilder
dup
ldc "@EnableMBeanExport is not present on importing class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.springframework.core.type.AnnotationMetadata.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.Map
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
0 7 1 importMetadata Lorg/springframework/core/type/AnnotationMetadata;
1 7 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
importMetadata
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.context.annotation.MBeanExportConfiguration.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/context/annotation/MBeanExportConfiguration;
0 2 1 environment Lorg/springframework/core/env/Environment;
MethodParameters:
Name Flags
environment
public void setBeanFactory(org.springframework.beans.factory.BeanFactory);
descriptor: (Lorg/springframework/beans/factory/BeanFactory;)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.context.annotation.MBeanExportConfiguration.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
0 2 1 beanFactory Lorg/springframework/beans/factory/BeanFactory;
MethodParameters:
Name Flags
beanFactory
public org.springframework.jmx.export.annotation.AnnotationMBeanExporter mbeanExporter();
descriptor: ()Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.springframework.jmx.export.annotation.AnnotationMBeanExporter
dup
invokespecial org.springframework.jmx.export.annotation.AnnotationMBeanExporter.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
ifnull 2
iconst_1
goto 3
StackMap locals: org.springframework.jmx.export.annotation.AnnotationMBeanExporter
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "No EnableMBeanExport annotation found"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 0
aload 1
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
invokevirtual org.springframework.context.annotation.MBeanExportConfiguration.setupDomain:(Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
5: aload 0
aload 1
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
invokevirtual org.springframework.context.annotation.MBeanExportConfiguration.setupServer:(Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
6: aload 0
aload 1
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.enableMBeanExport:Lorg/springframework/core/annotation/AnnotationAttributes;
invokevirtual org.springframework.context.annotation.MBeanExportConfiguration.setupRegistrationPolicy:(Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
1 8 1 exporter Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Bean(name = {"mbeanExporter"})
org.springframework.context.annotation.Role(value = 2)
private void setupDomain(org.springframework.jmx.export.annotation.AnnotationMBeanExporter, org.springframework.core.annotation.AnnotationAttributes);
descriptor: (Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "defaultDomain"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 3
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.environment:Lorg/springframework/core/env/Environment;
ifnull 3
2: aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.environment:Lorg/springframework/core/env/Environment;
aload 3
invokeinterface org.springframework.core.env.Environment.resolvePlaceholders:(Ljava/lang/String;)Ljava/lang/String;
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
aload 3
invokevirtual org.springframework.jmx.export.annotation.AnnotationMBeanExporter.setDefaultDomain:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
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/annotation/MBeanExportConfiguration;
0 6 1 exporter Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
0 6 2 enableMBeanExport Lorg/springframework/core/annotation/AnnotationAttributes;
1 6 3 defaultDomain Ljava/lang/String;
MethodParameters:
Name Flags
exporter
enableMBeanExport
private void setupServer(org.springframework.jmx.export.annotation.AnnotationMBeanExporter, org.springframework.core.annotation.AnnotationAttributes);
descriptor: (Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "server"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 3
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.environment:Lorg/springframework/core/env/Environment;
ifnull 3
2: aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.environment:Lorg/springframework/core/env/Environment;
aload 3
invokeinterface org.springframework.core.env.Environment.resolvePlaceholders:(Ljava/lang/String;)Ljava/lang/String;
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 9
4: aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
ifnull 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ldc "No BeanFactory set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
7: aload 1
aload 0
getfield org.springframework.context.annotation.MBeanExportConfiguration.beanFactory:Lorg/springframework/beans/factory/BeanFactory;
aload 3
ldc Ljavax/management/MBeanServer;
invokeinterface org.springframework.beans.factory.BeanFactory.getBean:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.management.MBeanServer
invokevirtual org.springframework.jmx.export.annotation.AnnotationMBeanExporter.setServer:(Ljavax/management/MBeanServer;)V
8: goto 14
9: StackMap locals:
StackMap stack:
invokestatic org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform.get:()Lorg/springframework/context/annotation/MBeanExportConfiguration$SpecificPlatform;
astore 4
start local 4 10: aload 4
ifnull 14
11: aload 4
invokevirtual org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform.getMBeanServer:()Ljavax/management/MBeanServer;
astore 5
start local 5 12: aload 5
ifnull 14
13: aload 1
aload 5
invokevirtual org.springframework.jmx.export.annotation.AnnotationMBeanExporter.setServer:(Ljavax/management/MBeanServer;)V
end local 5 end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
0 15 1 exporter Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
0 15 2 enableMBeanExport Lorg/springframework/core/annotation/AnnotationAttributes;
1 15 3 server Ljava/lang/String;
10 14 4 specificPlatform Lorg/springframework/context/annotation/MBeanExportConfiguration$SpecificPlatform;
12 14 5 mbeanServer Ljavax/management/MBeanServer;
MethodParameters:
Name Flags
exporter
enableMBeanExport
private void setupRegistrationPolicy(org.springframework.jmx.export.annotation.AnnotationMBeanExporter, org.springframework.core.annotation.AnnotationAttributes);
descriptor: (Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;Lorg/springframework/core/annotation/AnnotationAttributes;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "registration"
invokevirtual org.springframework.core.annotation.AnnotationAttributes.getEnum:(Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.jmx.support.RegistrationPolicy
astore 3
start local 3 1: aload 1
aload 3
invokevirtual org.springframework.jmx.export.annotation.AnnotationMBeanExporter.setRegistrationPolicy:(Lorg/springframework/jmx/support/RegistrationPolicy;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/annotation/MBeanExportConfiguration;
0 3 1 exporter Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
0 3 2 enableMBeanExport Lorg/springframework/core/annotation/AnnotationAttributes;
1 3 3 registrationPolicy Lorg/springframework/jmx/support/RegistrationPolicy;
MethodParameters:
Name Flags
exporter
enableMBeanExport
}
SourceFile: "MBeanExportConfiguration.java"
NestMembers:
org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform$1 org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform$2
InnerClasses:
public abstract SpecificPlatform = org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform of org.springframework.context.annotation.MBeanExportConfiguration
RuntimeVisibleAnnotations:
org.springframework.context.annotation.Configuration()