public class com.sun.jmx.mbeanserver.MXBeanSupport extends com.sun.jmx.mbeanserver.MBeanSupport<com.sun.jmx.mbeanserver.ConvertingMethod>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jmx.mbeanserver.MXBeanSupport
super_class: com.sun.jmx.mbeanserver.MBeanSupport
{
private java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private com.sun.jmx.mbeanserver.MXBeanLookup mxbeanLookup;
descriptor: Lcom/sun/jmx/mbeanserver/MXBeanLookup;
flags: (0x0002) ACC_PRIVATE
private javax.management.ObjectName objectName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
public <T> void <init>(T, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.jmx.mbeanserver.MBeanSupport.<init>:(Ljava/lang/Object;Ljava/lang/Class;)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield com.sun.jmx.mbeanserver.MXBeanSupport.lock:Ljava/lang/Object;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jmx/mbeanserver/MXBeanSupport;
0 3 1 resource TT;
0 3 2 mxbeanInterface Ljava/lang/Class<TT;>;
Exceptions:
throws javax.management.NotCompliantMBeanException
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
resource
mxbeanInterface
com.sun.jmx.mbeanserver.MBeanIntrospector<com.sun.jmx.mbeanserver.ConvertingMethod> getMBeanIntrospector();
descriptor: ()Lcom/sun/jmx/mbeanserver/MBeanIntrospector;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.jmx.mbeanserver.MXBeanIntrospector.getInstance:()Lcom/sun/jmx/mbeanserver/MXBeanIntrospector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/mbeanserver/MXBeanSupport;
Signature: ()Lcom/sun/jmx/mbeanserver/MBeanIntrospector<Lcom/sun/jmx/mbeanserver/ConvertingMethod;>;
java.lang.Object getCookie();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.mxbeanLookup:Lcom/sun/jmx/mbeanserver/MXBeanLookup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jmx/mbeanserver/MXBeanSupport;
static java.lang.Class<?> findMXBeanInterface(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null resource class"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.jmx.mbeanserver.MXBeanSupport.transitiveInterfaces:(Ljava/lang/Class;)Ljava/util/Set;
astore 1
start local 1 3: invokestatic com.sun.jmx.mbeanserver.Util.newSet:()Ljava/util/Set;
astore 2
start local 2 4: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.lang.Class java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 6: aload 3
invokestatic javax.management.JMX.isMXBeanInterface:(Ljava/lang/Class;)Z
ifeq 8
7: aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: goto 25
10: StackMap locals: java.lang.Class java.util.Set java.util.Set
StackMap stack:
aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: java.lang.Class java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 12: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
start local 5 13: goto 18
14: StackMap locals: java.lang.Class java.util.Set java.util.Set java.lang.Class java.util.Iterator java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 6
start local 6 15: aload 3
aload 6
if_acmpeq 18
aload 6
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 18
16: aload 5
invokeinterface java.util.Iterator.remove:()V
17: goto 25
end local 6 18: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 5 end local 3 19: StackMap locals: java.lang.Class java.util.Set java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
20: new java.lang.StringBuilder
dup
ldc "Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " implements more than "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "one MXBean interface: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: astore 3
start local 3 24: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 25: StackMap locals: java.lang.Class java.util.Set java.util.Set
StackMap stack:
aload 2
invokeinterface java.util.Set.size:()I
iconst_1
if_icmpgt 10
26: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 28
27: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
areturn
28: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: ldc " is not a JMX compliant MXBean"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: astore 3
start local 3 32: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 resourceClass Ljava/lang/Class<*>;
3 33 1 intfs Ljava/util/Set<Ljava/lang/Class<*>;>;
4 33 2 candidates Ljava/util/Set<Ljava/lang/Class<*>;>;
6 8 3 intf Ljava/lang/Class<*>;
12 19 3 intf Ljava/lang/Class<*>;
13 19 5 it Ljava/util/Iterator<Ljava/lang/Class<*>;>;
15 18 6 intf2 Ljava/lang/Class<*>;
24 25 3 msg Ljava/lang/String;
32 33 3 msg Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
resourceClass
private static java.util.Set<java.lang.Class<?>> transitiveInterfaces(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.sun.jmx.mbeanserver.Util.newSet:()Ljava/util/Set;
astore 1
start local 1 1: aload 0
aload 1
invokestatic com.sun.jmx.mbeanserver.MXBeanSupport.transitiveInterfaces:(Ljava/lang/Class;Ljava/util/Set;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Ljava/lang/Class;
1 3 1 set Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: (Ljava/lang/Class;)Ljava/util/Set<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
c
private static void transitiveInterfaces(java.lang.Class<?>, java.util.Set<java.lang.Class<?>>);
descriptor: (Ljava/lang/Class;Ljava/util/Set;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifeq 4
3: aload 1
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
aload 1
invokestatic com.sun.jmx.mbeanserver.MXBeanSupport.transitiveInterfaces:(Ljava/lang/Class;Ljava/util/Set;)V
5: aload 0
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: java.lang.Class java.util.Set top int int java.lang.Class[]
StackMap stack:
6: aload 5
iload 3
aaload
astore 2
start local 2 7: aload 2
aload 1
invokestatic com.sun.jmx.mbeanserver.MXBeanSupport.transitiveInterfaces:(Ljava/lang/Class;Ljava/util/Set;)V
end local 2 8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 6
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 c Ljava/lang/Class<*>;
0 11 1 intfs Ljava/util/Set<Ljava/lang/Class<*>;>;
7 8 2 sup Ljava/lang/Class;
Signature: (Ljava/lang/Class<*>;Ljava/util/Set<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
c
intfs
public void register(javax.management.MBeanServer, javax.management.ObjectName);
descriptor: (Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null object name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
3: aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.objectName:Ljavax/management/ObjectName;
ifnull 7
4: new java.lang.StringBuilder
dup
ldc "MXBean already registered with name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.objectName:Ljavax/management/ObjectName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: astore 4
start local 4 6: new javax.management.InstanceAlreadyExistsException
dup
aload 4
invokespecial javax.management.InstanceAlreadyExistsException.<init>:(Ljava/lang/String;)V
athrow
end local 4 7: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
invokestatic com.sun.jmx.mbeanserver.MXBeanLookup.lookupFor:(Ljavax/management/MBeanServerConnection;)Lcom/sun/jmx/mbeanserver/MXBeanLookup;
putfield com.sun.jmx.mbeanserver.MXBeanSupport.mxbeanLookup:Lcom/sun/jmx/mbeanserver/MXBeanLookup;
8: aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.mxbeanLookup:Lcom/sun/jmx/mbeanserver/MXBeanLookup;
aload 2
aload 0
invokevirtual com.sun.jmx.mbeanserver.MXBeanSupport.getResource:()Ljava/lang/Object;
invokevirtual com.sun.jmx.mbeanserver.MXBeanLookup.addReference:(Ljavax/management/ObjectName;Ljava/lang/Object;)V
9: aload 0
aload 2
putfield com.sun.jmx.mbeanserver.MXBeanSupport.objectName:Ljavax/management/ObjectName;
10: aload 3
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/jmx/mbeanserver/MXBeanSupport;
0 15 1 server Ljavax/management/MBeanServer;
0 15 2 name Ljavax/management/ObjectName;
6 7 4 msg Ljava/lang/String;
Exception table:
from to target type
3 11 12 any
12 13 12 any
Exceptions:
throws javax.management.InstanceAlreadyExistsException
MethodParameters:
Name Flags
server
name
public void unregister();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.mxbeanLookup:Lcom/sun/jmx/mbeanserver/MXBeanLookup;
aload 0
getfield com.sun.jmx.mbeanserver.MXBeanSupport.objectName:Ljavax/management/ObjectName;
aload 0
invokevirtual com.sun.jmx.mbeanserver.MXBeanSupport.getResource:()Ljava/lang/Object;
invokevirtual com.sun.jmx.mbeanserver.MXBeanLookup.removeReference:(Ljavax/management/ObjectName;Ljava/lang/Object;)Z
ifeq 3
2: aload 0
aconst_null
putfield com.sun.jmx.mbeanserver.MXBeanSupport.objectName:Ljavax/management/ObjectName;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/jmx/mbeanserver/MXBeanSupport;
Exception table:
from to target type
1 4 5 any
5 6 5 any
}
Signature: Lcom/sun/jmx/mbeanserver/MBeanSupport<Lcom/sun/jmx/mbeanserver/ConvertingMethod;>;
SourceFile: "MXBeanSupport.java"