public class org.springframework.jmx.support.MBeanServerConnectionFactoryBean implements org.springframework.beans.factory.FactoryBean<javax.management.MBeanServerConnection>, org.springframework.beans.factory.BeanClassLoaderAware, 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.MBeanServerConnectionFactoryBean
super_class: java.lang.Object
{
private javax.management.remote.JMXServiceURL serviceUrl;
descriptor: Ljavax/management/remote/JMXServiceURL;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.Map<java.lang.String, java.lang.Object> environment;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private boolean connectOnStartup;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.ClassLoader beanClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.management.remote.JMXConnector connector;
descriptor: Ljavax/management/remote/JMXConnector;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.management.MBeanServerConnection connection;
descriptor: Ljavax/management/MBeanServerConnection;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource connectorTargetSource;
descriptor: Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.environment:Ljava/util/Map;
2: aload 0
iconst_1
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectOnStartup:Z
3: aload 0
invokestatic org.springframework.util.ClassUtils.getDefaultClassLoader:()Ljava/lang/ClassLoader;
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.beanClassLoader:Ljava/lang/ClassLoader;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
public void setServiceUrl(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
new javax.management.remote.JMXServiceURL
dup
aload 1
invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;)V
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.serviceUrl:Ljavax/management/remote/JMXServiceURL;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
0 2 1 url Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
url
public void setEnvironment(java.util.Properties);
descriptor: (Ljava/util/Properties;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.environment:Ljava/util/Map;
invokestatic org.springframework.util.CollectionUtils.mergePropertiesIntoMap:(Ljava/util/Properties;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
0 2 1 environment Ljava/util/Properties;
MethodParameters:
Name Flags
environment
public void setEnvironmentMap(java.util.Map<java.lang.String, ?>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.environment:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
0 3 1 environment Ljava/util/Map<Ljava/lang/String;*>;
Signature: (Ljava/util/Map<Ljava/lang/String;*>;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
environment
public void setConnectOnStartup(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.MBeanServerConnectionFactoryBean.connectOnStartup:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
0 2 1 connectOnStartup Z
MethodParameters:
Name Flags
connectOnStartup
public void setBeanClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)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.MBeanServerConnectionFactoryBean.beanClassLoader:Ljava/lang/ClassLoader;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
0 2 1 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.serviceUrl:Ljavax/management/remote/JMXServiceURL;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Property 'serviceUrl' is required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectOnStartup:Z
ifeq 5
3: aload 0
invokevirtual org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connect:()V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.jmx.support.MBeanServerConnectionFactoryBean.createLazyConnection:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
Exceptions:
throws java.io.IOException
private void connect();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.serviceUrl:Ljavax/management/remote/JMXServiceURL;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No JMXServiceURL set"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.serviceUrl:Ljavax/management/remote/JMXServiceURL;
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.environment:Ljava/util/Map;
invokestatic javax.management.remote.JMXConnectorFactory.connect:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connector:Ljavax/management/remote/JMXConnector;
4: aload 0
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connector:Ljavax/management/remote/JMXConnector;
invokeinterface javax.management.remote.JMXConnector.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connection:Ljavax/management/MBeanServerConnection;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
Exceptions:
throws java.io.IOException
private void createLazyConnection();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
new org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource
dup
aload 0
invokespecial org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource.<init>:(Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;)V
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectorTargetSource:Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource;
1: new org.springframework.jmx.support.MBeanServerConnectionFactoryBean$MBeanServerConnectionLazyInitTargetSource
dup
aload 0
invokespecial org.springframework.jmx.support.MBeanServerConnectionFactoryBean$MBeanServerConnectionLazyInitTargetSource.<init>:(Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;)V
astore 1
start local 1 2: aload 0
3: new org.springframework.aop.framework.ProxyFactory
dup
ldc Ljavax/management/remote/JMXConnector;
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectorTargetSource:Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource;
invokespecial org.springframework.aop.framework.ProxyFactory.<init>:(Ljava/lang/Class;Lorg/springframework/aop/TargetSource;)V
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.beanClassLoader:Ljava/lang/ClassLoader;
invokevirtual org.springframework.aop.framework.ProxyFactory.getProxy:(Ljava/lang/ClassLoader;)Ljava/lang/Object;
4: checkcast javax.management.remote.JMXConnector
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connector:Ljavax/management/remote/JMXConnector;
5: aload 0
6: new org.springframework.aop.framework.ProxyFactory
dup
ldc Ljavax/management/MBeanServerConnection;
aload 1
invokespecial org.springframework.aop.framework.ProxyFactory.<init>:(Ljava/lang/Class;Lorg/springframework/aop/TargetSource;)V
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.beanClassLoader:Ljava/lang/ClassLoader;
invokevirtual org.springframework.aop.framework.ProxyFactory.getProxy:(Ljava/lang/ClassLoader;)Ljava/lang/Object;
7: checkcast javax.management.MBeanServerConnection
putfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connection:Ljavax/management/MBeanServerConnection;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
2 9 1 connectionTargetSource Lorg/springframework/aop/TargetSource;
public javax.management.MBeanServerConnection getObject();
descriptor: ()Ljavax/management/MBeanServerConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connection:Ljavax/management/MBeanServerConnection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<? extends javax.management.MBeanServerConnection> 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.MBeanServerConnectionFactoryBean.connection:Ljavax/management/MBeanServerConnection;
ifnull 1
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connection:Ljavax/management/MBeanServerConnection;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: ldc Ljavax/management/MBeanServerConnection;
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/MBeanServerConnectionFactoryBean;
Signature: ()Ljava/lang/Class<+Ljavax/management/MBeanServerConnection;>;
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/MBeanServerConnectionFactoryBean;
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.MBeanServerConnectionFactoryBean.connector:Ljavax/management/remote/JMXConnector;
ifnull 3
1: aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectorTargetSource:Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource;
ifnull 2
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connectorTargetSource:Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource;
invokevirtual org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource.isInitialized:()Z
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.jmx.support.MBeanServerConnectionFactoryBean.connector:Ljavax/management/remote/JMXConnector;
invokeinterface javax.management.remote.JMXConnector.close:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jmx/support/MBeanServerConnectionFactoryBean;
Exceptions:
throws java.io.IOException
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.MBeanServerConnectionFactoryBean.getObject:()Ljavax/management/MBeanServerConnection;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Ljavax/management/MBeanServerConnection;>;Lorg/springframework/beans/factory/BeanClassLoaderAware;Lorg/springframework/beans/factory/InitializingBean;Lorg/springframework/beans/factory/DisposableBean;
SourceFile: "MBeanServerConnectionFactoryBean.java"
NestMembers:
org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource org.springframework.jmx.support.MBeanServerConnectionFactoryBean$MBeanServerConnectionLazyInitTargetSource
InnerClasses:
private JMXConnectorLazyInitTargetSource = org.springframework.jmx.support.MBeanServerConnectionFactoryBean$JMXConnectorLazyInitTargetSource of org.springframework.jmx.support.MBeanServerConnectionFactoryBean
private MBeanServerConnectionLazyInitTargetSource = org.springframework.jmx.support.MBeanServerConnectionFactoryBean$MBeanServerConnectionLazyInitTargetSource of org.springframework.jmx.support.MBeanServerConnectionFactoryBean