public class javax.management.MBeanServerDelegate implements javax.management.MBeanServerDelegateMBean, javax.management.NotificationEmitter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.MBeanServerDelegate
super_class: java.lang.Object
{
private java.lang.String mbeanServerId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final javax.management.NotificationBroadcasterSupport broadcaster;
descriptor: Ljavax/management/NotificationBroadcasterSupport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static long oldStamp;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final long stamp;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long sequenceNumber;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static final javax.management.MBeanNotificationInfo[] notifsInfo;
descriptor: [Ljavax/management/MBeanNotificationInfo;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final javax.management.ObjectName DELEGATE_NAME;
descriptor: Ljavax/management/ObjectName;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=1, args_size=0
0: lconst_0
putstatic javax.management.MBeanServerDelegate.oldStamp:J
1: iconst_2
anewarray java.lang.String
dup
iconst_0
2: ldc "JMX.mbean.unregistered"
aastore
dup
iconst_1
3: ldc "JMX.mbean.registered"
aastore
4: astore 0
start local 0 5: iconst_1
anewarray javax.management.MBeanNotificationInfo
putstatic javax.management.MBeanServerDelegate.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
6: getstatic javax.management.MBeanServerDelegate.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
iconst_0
7: new javax.management.MBeanNotificationInfo
dup
aload 0
8: ldc "javax.management.MBeanServerNotification"
9: ldc "Notifications sent by the MBeanServerDelegate MBean"
10: invokespecial javax.management.MBeanNotificationInfo.<init>:([Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: aastore
end local 0 12: new javax.management.ObjectName
dup
ldc "JMImplementation:type=MBeanServerDelegate"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
13: putstatic javax.management.MBeanServerDelegate.DELEGATE_NAME:Ljavax/management/ObjectName;
14: goto 17
StackMap locals:
StackMap stack: javax.management.MalformedObjectNameException
15: astore 0
start local 0 16: new java.lang.Error
dup
ldc "Can't initialize delegate name"
aload 0
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 17: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
5 12 0 types [Ljava/lang/String;
16 17 0 e Ljavax/management/MalformedObjectNameException;
Exception table:
from to target type
12 14 15 Class javax.management.MalformedObjectNameException
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
lconst_1
putfield javax.management.MBeanServerDelegate.sequenceNumber:J
2: aload 0
invokestatic javax.management.MBeanServerDelegate.getStamp:()J
putfield javax.management.MBeanServerDelegate.stamp:J
3: aload 0
new javax.management.NotificationBroadcasterSupport
dup
invokespecial javax.management.NotificationBroadcasterSupport.<init>:()V
putfield javax.management.MBeanServerDelegate.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/MBeanServerDelegate;
public synchronized java.lang.String getMBeanServerId();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerDelegate.mbeanServerId:Ljava/lang/String;
ifnonnull 6
1: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 1
start local 1 2: goto 5
end local 1 StackMap locals:
StackMap stack: java.net.UnknownHostException
3: pop
4: ldc "localhost"
astore 1
start local 1 5: StackMap locals: java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.management.MBeanServerDelegate.stamp:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.management.MBeanServerDelegate.mbeanServerId:Ljava/lang/String;
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.MBeanServerDelegate.mbeanServerId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/management/MBeanServerDelegate;
2 3 1 localHost Ljava/lang/String;
5 6 1 localHost Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.UnknownHostException
public java.lang.String getSpecificationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Java Management Extensions"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerDelegate;
public java.lang.String getSpecificationVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "1.4"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerDelegate;
public java.lang.String getSpecificationVendor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Sun Microsystems"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerDelegate;
public java.lang.String getImplementationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "JMX"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerDelegate;
public java.lang.String getImplementationVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "java.runtime.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/MBeanServerDelegate;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
public java.lang.String getImplementationVendor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Sun Microsystems"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerDelegate;
public javax.management.MBeanNotificationInfo[] getNotificationInfo();
descriptor: ()[Ljavax/management/MBeanNotificationInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic javax.management.MBeanServerDelegate.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
arraylength
istore 1
start local 1 1: iload 1
anewarray javax.management.MBeanNotificationInfo
2: astore 2
start local 2 3: getstatic javax.management.MBeanServerDelegate.notifsInfo:[Ljavax/management/MBeanNotificationInfo;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/management/MBeanServerDelegate;
1 5 1 len I
3 5 2 infos [Ljavax/management/MBeanNotificationInfo;
public synchronized void addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object);
descriptor: (Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.management.MBeanServerDelegate.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 1
aload 2
aload 3
invokevirtual javax.management.NotificationBroadcasterSupport.addNotificationListener:(Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MBeanServerDelegate;
0 2 1 listener Ljavax/management/NotificationListener;
0 2 2 filter Ljavax/management/NotificationFilter;
0 2 3 handback Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
listener
filter
handback
public synchronized void removeNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object);
descriptor: (Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.management.MBeanServerDelegate.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 1
aload 2
aload 3
invokevirtual javax.management.NotificationBroadcasterSupport.removeNotificationListener:(Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MBeanServerDelegate;
0 2 1 listener Ljavax/management/NotificationListener;
0 2 2 filter Ljavax/management/NotificationFilter;
0 2 3 handback Ljava/lang/Object;
Exceptions:
throws javax.management.ListenerNotFoundException
MethodParameters:
Name Flags
listener
filter
handback
public synchronized void removeNotificationListener(javax.management.NotificationListener);
descriptor: (Ljavax/management/NotificationListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.MBeanServerDelegate.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 1
invokevirtual javax.management.NotificationBroadcasterSupport.removeNotificationListener:(Ljavax/management/NotificationListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MBeanServerDelegate;
0 2 1 listener Ljavax/management/NotificationListener;
Exceptions:
throws javax.management.ListenerNotFoundException
MethodParameters:
Name Flags
listener
public void sendNotification(javax.management.Notification);
descriptor: (Ljavax/management/Notification;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.management.Notification.getSequenceNumber:()J
lconst_1
lcmp
ifge 7
1: aload 0
dup
astore 2
monitorenter
2: aload 1
aload 0
dup
getfield javax.management.MBeanServerDelegate.sequenceNumber:J
dup2_x1
lconst_1
ladd
putfield javax.management.MBeanServerDelegate.sequenceNumber:J
invokevirtual javax.management.Notification.setSequenceNumber:(J)V
3: aload 2
monitorexit
4: goto 7
StackMap locals: javax.management.MBeanServerDelegate javax.management.Notification javax.management.MBeanServerDelegate
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.MBeanServerDelegate.broadcaster:Ljavax/management/NotificationBroadcasterSupport;
aload 1
invokevirtual javax.management.NotificationBroadcasterSupport.sendNotification:(Ljavax/management/Notification;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/management/MBeanServerDelegate;
0 9 1 notification Ljavax/management/Notification;
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
notification
private static synchronized long getStamp();
descriptor: ()J
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=0
0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 0
start local 0 1: getstatic javax.management.MBeanServerDelegate.oldStamp:J
lload 0
lcmp
iflt 3
2: getstatic javax.management.MBeanServerDelegate.oldStamp:J
lconst_1
ladd
lstore 0
3: StackMap locals: long
StackMap stack:
lload 0
putstatic javax.management.MBeanServerDelegate.oldStamp:J
4: lload 0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 s J
}
SourceFile: "MBeanServerDelegate.java"