public class org.springframework.jmx.support.MBeanServerFactoryBean implements org.springframework.beans.factory.FactoryBean<javax.management.MBeanServer>, 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.jmx.support.MBeanServerFactoryBean
super_class: java.lang.Object
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private boolean locateExistingServerIfPossible;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String agentId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.lang.String defaultDomain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean registerWithFactory;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.management.MBeanServer server;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean newlyRegistered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.jmx.support.MBeanServerFactoryBean.logger:Lorg/apache/commons/logging/Log;
2: aload 0
iconst_0
putfield org.springframework.jmx.support.MBeanServerFactoryBean.locateExistingServerIfPossible:Z
3: aload 0
iconst_1
putfield org.springframework.jmx.support.MBeanServerFactoryBean.registerWithFactory:Z
4: aload 0
iconst_0
putfield org.springframework.jmx.support.MBeanServerFactoryBean.newlyRegistered:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
public void setLocateExistingServerIfPossible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.jmx.support.MBeanServerFactoryBean.locateExistingServerIfPossible:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 2 1 locateExistingServerIfPossible Z
MethodParameters:
Name Flags
locateExistingServerIfPossible
public void setAgentId(java.lang.String);
descriptor: (Ljava/lang/String;)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.jmx.support.MBeanServerFactoryBean.agentId:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 2 1 agentId Ljava/lang/String;
MethodParameters:
Name Flags
agentId
public void setDefaultDomain(java.lang.String);
descriptor: (Ljava/lang/String;)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.jmx.support.MBeanServerFactoryBean.defaultDomain:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 2 1 defaultDomain Ljava/lang/String;
MethodParameters:
Name Flags
defaultDomain
public void setRegisterWithFactory(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.jmx.support.MBeanServerFactoryBean.registerWithFactory:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 2 1 registerWithFactory Z
MethodParameters:
Name Flags
registerWithFactory
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.locateExistingServerIfPossible:Z
ifne 1
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.agentId:Ljava/lang/String;
ifnull 7
1: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.agentId:Ljava/lang/String;
invokevirtual org.springframework.jmx.support.MBeanServerFactoryBean.locateMBeanServer:(Ljava/lang/String;)Ljavax/management/MBeanServer;
putfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
2: goto 7
3: StackMap locals:
StackMap stack: org.springframework.jmx.MBeanServerNotFoundException
astore 1
start local 1 4: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.agentId:Ljava/lang/String;
ifnull 6
5: aload 1
athrow
6: StackMap locals: org.springframework.jmx.MBeanServerNotFoundException
StackMap stack:
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.logger:Lorg/apache/commons/logging/Log;
ldc "No existing MBeanServer found - creating new one"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
ifnonnull 10
8: aload 0
aload 0
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.defaultDomain:Ljava/lang/String;
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.registerWithFactory:Z
invokevirtual org.springframework.jmx.support.MBeanServerFactoryBean.createMBeanServer:(Ljava/lang/String;Z)Ljavax/management/MBeanServer;
putfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
9: aload 0
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.registerWithFactory:Z
putfield org.springframework.jmx.support.MBeanServerFactoryBean.newlyRegistered:Z
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
4 7 1 ex Lorg/springframework/jmx/MBeanServerNotFoundException;
Exception table:
from to target type
1 2 3 Class org.springframework.jmx.MBeanServerNotFoundException
Exceptions:
throws org.springframework.jmx.MBeanServerNotFoundException
protected javax.management.MBeanServer locateMBeanServer(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/management/MBeanServer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.jmx.support.JmxUtils.locateMBeanServer:(Ljava/lang/String;)Ljavax/management/MBeanServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 1 1 agentId Ljava/lang/String;
Exceptions:
throws org.springframework.jmx.MBeanServerNotFoundException
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
agentId
protected javax.management.MBeanServer createMBeanServer(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljavax/management/MBeanServer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 1
invokestatic javax.management.MBeanServerFactory.createMBeanServer:(Ljava/lang/String;)Ljavax/management/MBeanServer;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic javax.management.MBeanServerFactory.newMBeanServer:(Ljava/lang/String;)Ljavax/management/MBeanServer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
0 3 1 defaultDomain Ljava/lang/String;
0 3 2 registerWithFactory Z
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
defaultDomain
registerWithFactory
public javax.management.MBeanServer getObject();
descriptor: ()Ljavax/management/MBeanServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<? extends javax.management.MBeanServer> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
ifnull 1
aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: ldc Ljavax/management/MBeanServer;
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
Signature: ()Ljava/lang/Class<+Ljavax/management/MBeanServer;>;
public boolean isSingleton();
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 Lorg/springframework/jmx/support/MBeanServerFactoryBean;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.newlyRegistered:Z
ifeq 2
1: aload 0
getfield org.springframework.jmx.support.MBeanServerFactoryBean.server:Ljavax/management/MBeanServer;
invokestatic javax.management.MBeanServerFactory.releaseMBeanServer:(Ljavax/management/MBeanServer;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jmx/support/MBeanServerFactoryBean;
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.jmx.support.MBeanServerFactoryBean.getObject:()Ljavax/management/MBeanServer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Ljavax/management/MBeanServer;>;Lorg/springframework/beans/factory/InitializingBean;Lorg/springframework/beans/factory/DisposableBean;
SourceFile: "MBeanServerFactoryBean.java"