public class javax.management.remote.JMXConnectorServerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.remote.JMXConnectorServerFactory
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_CLASS_LOADER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.default.class.loader"
public static final java.lang.String DEFAULT_CLASS_LOADER_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.default.class.loader.name"
public static final java.lang.String PROTOCOL_PROVIDER_PACKAGES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.protocol.provider.pkgs"
public static final java.lang.String PROTOCOL_PROVIDER_CLASS_LOADER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.protocol.provider.class.loader"
private static final java.lang.String PROTOCOL_PROVIDER_DEFAULT_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jmx.remote.protocol"
private static final com.sun.jmx.remote.util.ClassLogger logger;
descriptor: Lcom/sun/jmx/remote/util/ClassLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.sun.jmx.remote.util.ClassLogger
dup
ldc "javax.management.remote.misc"
ldc "JMXConnectorServerFactory"
invokespecial com.sun.jmx.remote.util.ClassLogger.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: putstatic javax.management.remote.JMXConnectorServerFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/remote/JMXConnectorServerFactory;
private static javax.management.remote.JMXConnectorServer getConnectorServerAsService(java.lang.ClassLoader, javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, javax.management.MBeanServer);
descriptor: (Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Ljavax/management/remote/JMXConnectorServerProvider;
aload 0
invokestatic javax.management.remote.JMXConnectorFactory.getProviderIterator:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/Iterator;
1: astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: goto 24
5: StackMap locals: java.util.Iterator javax.management.remote.JMXConnectorServer java.io.IOException
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.remote.JMXConnectorServerProvider
aload 1
aload 2
aload 3
invokeinterface javax.management.remote.JMXConnectorServerProvider.newJMXConnectorServer:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
astore 5
6: aload 5
7: areturn
8: StackMap locals:
StackMap stack: javax.management.remote.JMXProviderException
astore 7
start local 7 9: aload 7
athrow
end local 7 10: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 11: getstatic javax.management.remote.JMXConnectorServerFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 17
12: getstatic javax.management.remote.JMXConnectorServerFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "getConnectorAsService"
13: new java.lang.StringBuilder
dup
ldc "URL["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
14: ldc "] Service provider exception: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
17: StackMap locals: java.lang.Exception
StackMap stack:
aload 7
instanceof java.net.MalformedURLException
ifne 24
18: aload 6
ifnonnull 24
19: aload 6
instanceof java.io.IOException
ifeq 22
20: aload 7
checkcast java.io.IOException
astore 6
21: goto 24
22: StackMap locals:
StackMap stack:
new java.io.IOException
dup
aload 7
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
aload 7
23: invokestatic com.sun.jmx.remote.util.EnvHelp.initCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.io.IOException
astore 6
end local 7 24: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
25: aload 6
ifnonnull 27
26: aconst_null
areturn
27: StackMap locals:
StackMap stack:
aload 6
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 loader Ljava/lang/ClassLoader;
0 28 1 url Ljavax/management/remote/JMXServiceURL;
0 28 2 map Ljava/util/Map<Ljava/lang/String;*>;
0 28 3 mbs Ljavax/management/MBeanServer;
2 28 4 providers Ljava/util/Iterator<Ljavax/management/remote/JMXConnectorServerProvider;>;
3 28 5 connection Ljavax/management/remote/JMXConnectorServer;
4 28 6 exception Ljava/io/IOException;
9 10 7 e Ljavax/management/remote/JMXProviderException;
11 24 7 e Ljava/lang/Exception;
Exception table:
from to target type
5 7 8 Class javax.management.remote.JMXProviderException
5 7 10 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
MethodParameters:
Name Flags
loader
url
map
mbs
public static javax.management.remote.JMXConnectorServer newJMXConnectorServer(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, javax.management.MBeanServer);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 2: goto 5
end local 3 3: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.jmx.remote.util.EnvHelp.checkAttributes:(Ljava/util/Map;)V
4: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 5: StackMap locals: java.util.Map
StackMap stack:
ldc Ljavax/management/remote/JMXConnectorServerProvider;
6: astore 4
start local 4 7: aload 3
invokestatic javax.management.remote.JMXConnectorFactory.resolveClassLoader:(Ljava/util/Map;)Ljava/lang/ClassLoader;
8: astore 5
start local 5 9: aload 0
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
astore 6
start local 6 10: aload 0
11: aload 3
12: ldc "ServerProvider"
13: aload 4
14: aload 5
15: invokestatic javax.management.remote.JMXConnectorFactory.getProvider:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
checkcast javax.management.remote.JMXConnectorServerProvider
16: astore 7
start local 7 17: aconst_null
astore 8
start local 8 18: aload 7
ifnonnull 40
19: aload 5
ifnull 33
20: aload 5
21: aload 0
22: aload 3
23: aload 2
24: invokestatic javax.management.remote.JMXConnectorServerFactory.getConnectorServerAsService:(Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
25: astore 9
start local 9 26: aload 9
ifnull 33
27: aload 9
28: areturn
end local 9 29: StackMap locals: javax.management.remote.JMXServiceURL java.util.Map javax.management.MBeanServer java.util.Map java.lang.Class java.lang.ClassLoader java.lang.String javax.management.remote.JMXConnectorServerProvider java.io.IOException
StackMap stack: javax.management.remote.JMXProviderException
astore 9
start local 9 30: aload 9
athrow
end local 9 31: StackMap locals:
StackMap stack: java.io.IOException
astore 9
start local 9 32: aload 9
astore 8
end local 9 33: StackMap locals:
StackMap stack:
aload 6
34: ldc "com.sun.jmx.remote.protocol"
35: ldc Ljavax/management/remote/JMXConnectorFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
36: ldc "ServerProvider"
37: aload 4
38: invokestatic javax.management.remote.JMXConnectorFactory.getProvider:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.management.remote.JMXConnectorServerProvider
39: astore 7
40: StackMap locals:
StackMap stack:
aload 7
ifnonnull 46
41: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
42: astore 9
start local 9 43: aload 8
ifnonnull 45
44: aload 9
athrow
45: StackMap locals: java.net.MalformedURLException
StackMap stack:
aload 9
aload 8
invokestatic com.sun.jmx.remote.util.EnvHelp.initCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.net.MalformedURLException
athrow
end local 9 46: StackMap locals:
StackMap stack:
aload 3
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
astore 3
47: aload 7
aload 0
48: aload 3
49: aload 2
50: invokeinterface javax.management.remote.JMXConnectorServerProvider.newJMXConnectorServer:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 serviceURL Ljavax/management/remote/JMXServiceURL;
0 51 1 environment Ljava/util/Map<Ljava/lang/String;*>;
0 51 2 mbeanServer Ljavax/management/MBeanServer;
2 3 3 envcopy Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
5 51 3 envcopy Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
7 51 4 targetInterface Ljava/lang/Class<Ljavax/management/remote/JMXConnectorServerProvider;>;
9 51 5 loader Ljava/lang/ClassLoader;
10 51 6 protocol Ljava/lang/String;
17 51 7 provider Ljavax/management/remote/JMXConnectorServerProvider;
18 51 8 exception Ljava/io/IOException;
26 29 9 connection Ljavax/management/remote/JMXConnectorServer;
30 31 9 e Ljavax/management/remote/JMXProviderException;
32 33 9 e Ljava/io/IOException;
43 46 9 e Ljava/net/MalformedURLException;
Exception table:
from to target type
20 28 29 Class javax.management.remote.JMXProviderException
20 28 31 Class java.io.IOException
Exceptions:
throws java.io.IOException
Signature: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
MethodParameters:
Name Flags
serviceURL
environment
mbeanServer
}
SourceFile: "JMXConnectorServerFactory.java"