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=7, 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: goto 22
4: StackMap locals: java.util.Iterator 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;
5: areturn
6: StackMap locals:
StackMap stack: javax.management.remote.JMXProviderException
astore 6
start local 6 7: aload 6
athrow
end local 6 8: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 9: getstatic javax.management.remote.JMXConnectorServerFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 15
10: getstatic javax.management.remote.JMXConnectorServerFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "getConnectorAsService"
11: 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;
12: ldc "] Service provider exception: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
15: StackMap locals: java.lang.Exception
StackMap stack:
aload 6
instanceof java.net.MalformedURLException
ifne 22
16: aload 5
ifnonnull 22
17: aload 6
instanceof java.io.IOException
ifeq 20
18: aload 6
checkcast java.io.IOException
astore 5
19: goto 22
20: StackMap locals:
StackMap stack:
new java.io.IOException
dup
aload 6
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
aload 6
21: invokestatic com.sun.jmx.remote.util.EnvHelp.initCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.io.IOException
astore 5
end local 6 22: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
23: aload 5
ifnonnull 25
24: aconst_null
areturn
25: StackMap locals:
StackMap stack:
aload 5
athrow
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 26 0 loader Ljava/lang/ClassLoader;
0 26 1 url Ljavax/management/remote/JMXServiceURL;
0 26 2 map Ljava/util/Map<Ljava/lang/String;*>;
0 26 3 mbs Ljavax/management/MBeanServer;
2 26 4 providers Ljava/util/Iterator<Ljavax/management/remote/JMXConnectorServerProvider;>;
3 26 5 exception Ljava/io/IOException;
7 8 6 e Ljavax/management/remote/JMXProviderException;
9 22 6 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class javax.management.remote.JMXProviderException
4 5 8 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"