class sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener implements javax.management.NotificationListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener
super_class: java.lang.Object
{
private sun.tools.jconsole.inspector.XMBean xmbean;
descriptor: Lsun/tools/jconsole/inspector/XMBean;
flags: (0x0002) ACC_PRIVATE
private javax.swing.tree.DefaultMutableTreeNode node;
descriptor: Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0002) ACC_PRIVATE
private long received;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private sun.tools.jconsole.inspector.XMBeanNotifications notifications;
descriptor: Lsun/tools/jconsole/inspector/XMBeanNotifications;
flags: (0x0002) ACC_PRIVATE
private boolean unregistered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<java.lang.Object[]> data;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<[Ljava/lang/Object;>;
final sun.tools.jconsole.inspector.XMBeanNotifications this$0;
descriptor: Lsun/tools/jconsole/inspector/XMBeanNotifications;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.tools.jconsole.inspector.XMBeanNotifications, sun.tools.jconsole.inspector.XMBeanNotifications, sun.tools.jconsole.inspector.XMBean, javax.swing.tree.DefaultMutableTreeNode, java.lang.String[]);
descriptor: (Lsun/tools/jconsole/inspector/XMBeanNotifications;Lsun/tools/jconsole/inspector/XMBeanNotifications;Lsun/tools/jconsole/inspector/XMBean;Ljavax/swing/tree/DefaultMutableTreeNode;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.this$0:Lsun/tools/jconsole/inspector/XMBeanNotifications;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.data:Ljava/util/ArrayList;
3: aload 0
aload 2
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.notifications:Lsun/tools/jconsole/inspector/XMBeanNotifications;
4: aload 0
aload 3
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
5: aload 0
aload 4
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.node:Ljavax/swing/tree/DefaultMutableTreeNode;
6: aload 0
aload 4
invokevirtual sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.register:(Ljavax/swing/tree/DefaultMutableTreeNode;)V
7: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
0 8 2 notifications Lsun/tools/jconsole/inspector/XMBeanNotifications;
0 8 3 xmbean Lsun/tools/jconsole/inspector/XMBean;
0 8 4 node Ljavax/swing/tree/DefaultMutableTreeNode;
0 8 5 columnNames [Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
notifications
xmbean
node
columnNames
public synchronized java.util.List<java.lang.Object[]> getData();
descriptor: ()Ljava/util/List;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.data:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
Signature: ()Ljava/util/List<[Ljava/lang/Object;>;
public synchronized void clear();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.data:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
1: aload 0
lconst_0
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.received:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
public boolean isRegistered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.unregistered:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
public synchronized void unregister();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
invokevirtual sun.tools.jconsole.inspector.XMBean.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
1: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
invokevirtual sun.tools.jconsole.inspector.XMBean.getObjectName:()Ljavax/management/ObjectName;
aload 0
aconst_null
aconst_null
invokeinterface javax.management.MBeanServerConnection.removeNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
2: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error removing listener :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.unregistered:Z
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
4 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
public long getReceivedNotifications();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.received:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
public synchronized void register(javax.swing.tree.DefaultMutableTreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.clear:()V
1: aload 0
aload 1
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.node:Ljavax/swing/tree/DefaultMutableTreeNode;
2: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
invokevirtual sun.tools.jconsole.inspector.XMBean.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
3: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
invokevirtual sun.tools.jconsole.inspector.XMBean.getObjectName:()Ljavax/management/ObjectName;
aload 0
aconst_null
aconst_null
invokeinterface javax.management.MBeanServerConnection.addNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
4: aload 0
iconst_0
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.unregistered:Z
5: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error adding listener :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
0 11 1 node Ljavax/swing/tree/DefaultMutableTreeNode;
7 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
node
public synchronized void handleNotification(javax.management.Notification, java.lang.Object);
descriptor: (Ljavax/management/Notification;Ljava/lang/Object;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.unregistered:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new java.util.Date
dup
aload 1
invokevirtual javax.management.Notification.getTimeStamp:()J
invokespecial java.util.Date.<init>:(J)V
astore 3
start local 3 3: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.this$0:Lsun/tools/jconsole/inspector/XMBeanNotifications;
getfield sun.tools.jconsole.inspector.XMBeanNotifications.timeFormater:Ljava/text/SimpleDateFormat;
aload 3
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
astore 4
start local 4 4: aload 1
invokevirtual javax.management.Notification.getUserData:()Ljava/lang/Object;
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: aconst_null
astore 7
start local 7 7: aload 5
invokestatic sun.tools.jconsole.inspector.XDataViewer.createNotificationViewer:(Ljava/lang/Object;)Ljava/awt/Component;
dup
astore 6
ifnull 10
8: aload 6
aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.this$0:Lsun/tools/jconsole/inspector/XMBeanNotifications;
getfield sun.tools.jconsole.inspector.XMBeanNotifications.mouseListener:Lsun/tools/jconsole/inspector/XMBeanNotifications$NotifMouseListener;
invokestatic sun.tools.jconsole.inspector.XDataViewer.registerForMouseEvent:(Ljava/awt/Component;Ljava/awt/event/MouseListener;)V
9: new sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell
dup
aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.this$0:Lsun/tools/jconsole/inspector/XMBeanNotifications;
aload 5
aload 6
invokespecial sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell.<init>:(Lsun/tools/jconsole/inspector/XMBeanNotifications;Ljava/lang/Object;Ljava/awt/Component;)V
astore 7
10: StackMap locals: sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener javax.management.Notification java.lang.Object java.util.Date java.lang.String java.lang.Object java.awt.Component sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell
StackMap stack:
bipush 7
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
11: aload 1
invokevirtual javax.management.Notification.getType:()Ljava/lang/String;
aastore
dup
iconst_2
12: aload 7
ifnonnull 13
aload 5
goto 14
StackMap locals: sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener javax.management.Notification java.lang.Object java.util.Date java.lang.String java.lang.Object java.awt.Component sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell
StackMap stack: java.lang.Object[] java.lang.Object[] int
13: aload 7
StackMap locals: sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener javax.management.Notification java.lang.Object java.util.Date java.lang.String java.lang.Object java.awt.Component sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell
StackMap stack: java.lang.Object[] java.lang.Object[] int java.lang.Object
14: aastore
dup
iconst_3
15: new java.lang.Long
dup
aload 1
invokevirtual javax.management.Notification.getSequenceNumber:()J
invokespecial java.lang.Long.<init>:(J)V
aastore
dup
iconst_4
16: aload 1
invokevirtual javax.management.Notification.getMessage:()Ljava/lang/String;
aastore
dup
iconst_5
17: aload 1
aastore
dup
bipush 6
18: aload 1
invokevirtual javax.management.Notification.getSource:()Ljava/lang/Object;
aastore
19: astore 8
start local 8 20: aload 0
dup
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.received:J
lconst_1
ladd
putfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.received:J
21: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.data:Ljava/util/ArrayList;
iconst_0
aload 8
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
22: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.notifications:Lsun/tools/jconsole/inspector/XMBeanNotifications;
aload 0
23: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.xmbean:Lsun/tools/jconsole/inspector/XMBean;
24: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.node:Ljavax/swing/tree/DefaultMutableTreeNode;
25: aload 8
26: aload 0
getfield sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener.received:J
27: invokevirtual sun.tools.jconsole.inspector.XMBeanNotifications.fireNotificationReceived:(Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;Lsun/tools/jconsole/inspector/XMBean;Ljavax/swing/tree/DefaultMutableTreeNode;[Ljava/lang/Object;J)V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 28: goto 34
29: StackMap locals: sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener javax.management.Notification java.lang.Object
StackMap stack: java.lang.Exception
astore 3
start local 3 30: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
31: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error when handling notification :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
32: aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 34: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/tools/jconsole/inspector/XMBeanNotifications$XMBeanNotificationsListener;
0 35 1 e Ljavax/management/Notification;
0 35 2 handback Ljava/lang/Object;
3 28 3 receivedDate Ljava/util/Date;
4 28 4 time Ljava/lang/String;
5 28 5 userData Ljava/lang/Object;
6 28 6 comp Ljava/awt/Component;
7 28 7 cell Lsun/tools/jconsole/inspector/XMBeanNotifications$UserDataCell;
20 28 8 rowData [Ljava/lang/Object;
30 34 3 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 29 Class java.lang.Exception
2 28 29 Class java.lang.Exception
MethodParameters:
Name Flags
e
handback
}
SourceFile: "XMBeanNotifications.java"
NestHost: sun.tools.jconsole.inspector.XMBeanNotifications
InnerClasses:
UserDataCell = sun.tools.jconsole.inspector.XMBeanNotifications$UserDataCell of sun.tools.jconsole.inspector.XMBeanNotifications
XMBeanNotificationsListener = sun.tools.jconsole.inspector.XMBeanNotifications$XMBeanNotificationsListener of sun.tools.jconsole.inspector.XMBeanNotifications