public abstract class javax.management.remote.JMXConnectorServer extends javax.management.NotificationBroadcasterSupport implements javax.management.remote.JMXConnectorServerMBean, javax.management.MBeanRegistration, javax.management.remote.JMXAddressable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.management.remote.JMXConnectorServer
super_class: javax.management.NotificationBroadcasterSupport
{
public static final java.lang.String AUTHENTICATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.authenticator"
private javax.management.MBeanServer mbeanServer;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0002) ACC_PRIVATE
private javax.management.ObjectName myName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<java.lang.String> connectionIds;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private static final int[] sequenceNumberLock;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static long sequenceNumber;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
newarray 10
putstatic javax.management.remote.JMXConnectorServer.sequenceNumberLock:[I
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial javax.management.remote.JMXConnectorServer.<init>:(Ljavax/management/MBeanServer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/remote/JMXConnectorServer;
public void <init>(javax.management.MBeanServer);
descriptor: (Ljavax/management/MBeanServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.management.NotificationBroadcasterSupport.<init>:()V
1: aload 0
aconst_null
putfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
3: aload 0
aload 1
putfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/remote/JMXConnectorServer;
0 5 1 mbeanServer Ljavax/management/MBeanServer;
MethodParameters:
Name Flags
mbeanServer
public synchronized javax.management.MBeanServer getMBeanServer();
descriptor: ()Ljavax/management/MBeanServer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/remote/JMXConnectorServer;
public synchronized void setMBeanServerForwarder(javax.management.remote.MBeanServerForwarder);
descriptor: (Ljavax/management/remote/MBeanServerForwarder;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid null argument: mbsf"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
ifnull 3
aload 1
aload 0
getfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
invokeinterface javax.management.remote.MBeanServerForwarder.setMBeanServer:(Ljavax/management/MBeanServer;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/remote/JMXConnectorServer;
0 5 1 mbsf Ljavax/management/remote/MBeanServerForwarder;
MethodParameters:
Name Flags
mbsf
public java.lang.String[] getConnectionIds();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
dup
astore 1
monitorenter
1: aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
aload 1
monitorexit
2: areturn
3: StackMap locals: javax.management.remote.JMXConnectorServer java.util.List
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/remote/JMXConnectorServer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public javax.management.remote.JMXConnector toJMXConnector(java.util.Map<java.lang.String, ?>);
descriptor: (Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.management.remote.JMXConnectorServer.isActive:()Z
ifne 3
1: new java.lang.IllegalStateException
dup
ldc "Connector is not active"
2: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.management.remote.JMXConnectorServer.getAddress:()Ljavax/management/remote/JMXServiceURL;
astore 2
start local 2 4: aload 2
aload 1
invokestatic javax.management.remote.JMXConnectorFactory.newJMXConnector:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/remote/JMXConnectorServer;
0 5 1 env Ljava/util/Map<Ljava/lang/String;*>;
4 5 2 addr Ljavax/management/remote/JMXServiceURL;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;*>;)Ljavax/management/remote/JMXConnector;
MethodParameters:
Name Flags
env
public javax.management.MBeanNotificationInfo[] getNotificationInfo();
descriptor: ()[Ljavax/management/MBeanNotificationInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: iconst_3
anewarray java.lang.String
dup
iconst_0
1: ldc "jmx.remote.connection.opened"
aastore
dup
iconst_1
2: ldc "jmx.remote.connection.closed"
aastore
dup
iconst_2
3: ldc "jmx.remote.connection.failed"
aastore
4: astore 1
start local 1 5: ldc Ljavax/management/remote/JMXConnectionNotification;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 6: iconst_1
anewarray javax.management.MBeanNotificationInfo
dup
iconst_0
7: new javax.management.MBeanNotificationInfo
dup
aload 1
aload 2
ldc "A client connection has been opened or closed"
invokespecial javax.management.MBeanNotificationInfo.<init>:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/management/remote/JMXConnectorServer;
5 9 1 types [Ljava/lang/String;
6 9 2 className Ljava/lang/String;
protected void connectionOpened(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Illegal null argument"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
dup
astore 4
monitorenter
3: aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 4
monitorexit
5: goto 8
StackMap locals: javax.management.remote.JMXConnectorServer java.lang.String java.lang.String java.lang.Object java.util.List
StackMap stack: java.lang.Throwable
6: aload 4
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
ldc "jmx.remote.connection.opened"
aload 1
9: aload 2
aload 3
10: invokevirtual javax.management.remote.JMXConnectorServer.sendNotification:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/management/remote/JMXConnectorServer;
0 12 1 connectionId Ljava/lang/String;
0 12 2 message Ljava/lang/String;
0 12 3 userData Ljava/lang/Object;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
connectionId
message
userData
protected void connectionClosed(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Illegal null argument"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
dup
astore 4
monitorenter
3: aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: aload 4
monitorexit
5: goto 8
StackMap locals: javax.management.remote.JMXConnectorServer java.lang.String java.lang.String java.lang.Object java.util.List
StackMap stack: java.lang.Throwable
6: aload 4
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
ldc "jmx.remote.connection.closed"
aload 1
9: aload 2
aload 3
10: invokevirtual javax.management.remote.JMXConnectorServer.sendNotification:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/management/remote/JMXConnectorServer;
0 12 1 connectionId Ljava/lang/String;
0 12 2 message Ljava/lang/String;
0 12 3 userData Ljava/lang/Object;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
connectionId
message
userData
protected void connectionFailed(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Illegal null argument"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
dup
astore 4
monitorenter
3: aload 0
getfield javax.management.remote.JMXConnectorServer.connectionIds:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: aload 4
monitorexit
5: goto 8
StackMap locals: javax.management.remote.JMXConnectorServer java.lang.String java.lang.String java.lang.Object java.util.List
StackMap stack: java.lang.Throwable
6: aload 4
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
ldc "jmx.remote.connection.failed"
aload 1
9: aload 2
aload 3
10: invokevirtual javax.management.remote.JMXConnectorServer.sendNotification:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/management/remote/JMXConnectorServer;
0 12 1 connectionId Ljava/lang/String;
0 12 2 message Ljava/lang/String;
0 12 3 userData Ljava/lang/Object;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
connectionId
message
userData
private void sendNotification(java.lang.String, java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new javax.management.remote.JMXConnectionNotification
dup
aload 1
1: aload 0
invokevirtual javax.management.remote.JMXConnectorServer.getNotificationSource:()Ljava/lang/Object;
2: aload 2
3: invokestatic javax.management.remote.JMXConnectorServer.nextSequenceNumber:()J
4: aload 3
5: aload 4
6: invokespecial javax.management.remote.JMXConnectionNotification.<init>:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;JLjava/lang/String;Ljava/lang/Object;)V
7: astore 5
start local 5 8: aload 0
aload 5
invokevirtual javax.management.remote.JMXConnectorServer.sendNotification:(Ljavax/management/Notification;)V
9: return
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 10 0 this Ljavax/management/remote/JMXConnectorServer;
0 10 1 type Ljava/lang/String;
0 10 2 connectionId Ljava/lang/String;
0 10 3 message Ljava/lang/String;
0 10 4 userData Ljava/lang/Object;
8 10 5 notif Ljavax/management/Notification;
MethodParameters:
Name Flags
type
connectionId
message
userData
private synchronized java.lang.Object getNotificationSource();
descriptor: ()Ljava/lang/Object;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
ifnull 2
1: aload 0
getfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/remote/JMXConnectorServer;
private static long nextSequenceNumber();
descriptor: ()J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: getstatic javax.management.remote.JMXConnectorServer.sequenceNumberLock:[I
dup
astore 0
monitorenter
1: getstatic javax.management.remote.JMXConnectorServer.sequenceNumber:J
dup2
lconst_1
ladd
putstatic javax.management.remote.JMXConnectorServer.sequenceNumber:J
aload 0
monitorexit
2: lreturn
3: StackMap locals: int[]
StackMap stack: java.lang.Throwable
aload 0
monitorexit
4: athrow
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 2 3 any
3 4 3 any
public synchronized javax.management.ObjectName preRegister(javax.management.MBeanServer, javax.management.ObjectName);
descriptor: (Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)Ljavax/management/ObjectName;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
ldc "Null MBeanServer or ObjectName"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
ifnonnull 5
3: aload 0
aload 1
putfield javax.management.remote.JMXConnectorServer.mbeanServer:Ljavax/management/MBeanServer;
4: aload 0
aload 2
putfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
5: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/management/remote/JMXConnectorServer;
0 6 1 mbs Ljavax/management/MBeanServer;
0 6 2 name Ljavax/management/ObjectName;
MethodParameters:
Name Flags
mbs
name
public void postRegister(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/remote/JMXConnectorServer;
0 1 1 registrationDone Ljava/lang/Boolean;
MethodParameters:
Name Flags
registrationDone
public synchronized void preDeregister();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
ifnull 3
aload 0
invokevirtual javax.management.remote.JMXConnectorServer.isActive:()Z
ifeq 3
1: aload 0
invokevirtual javax.management.remote.JMXConnectorServer.stop:()V
2: aload 0
aconst_null
putfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/remote/JMXConnectorServer;
Exceptions:
throws java.lang.Exception
public void postDeregister();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.management.remote.JMXConnectorServer.myName:Ljavax/management/ObjectName;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/remote/JMXConnectorServer;
}
SourceFile: "JMXConnectorServer.java"