public class sun.tools.jconsole.MBeansTab extends sun.tools.jconsole.Tab implements javax.management.NotificationListener, java.beans.PropertyChangeListener, javax.swing.event.TreeSelectionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.MBeansTab
super_class: sun.tools.jconsole.Tab
{
private sun.tools.jconsole.inspector.XTree tree;
descriptor: Lsun/tools/jconsole/inspector/XTree;
flags: (0x0002) ACC_PRIVATE
private sun.tools.jconsole.inspector.XSheet sheet;
descriptor: Lsun/tools/jconsole/inspector/XSheet;
flags: (0x0002) ACC_PRIVATE
private sun.tools.jconsole.inspector.XDataViewer viewer;
descriptor: Lsun/tools/jconsole/inspector/XDataViewer;
flags: (0x0002) ACC_PRIVATE
private java.awt.event.MouseListener ml;
descriptor: Ljava/awt/event/MouseListener;
flags: (0x0002) ACC_PRIVATE
public static java.lang.String getTabName();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.tools.jconsole.Messages.MBEANS:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.tools.jconsole.VMPanel);
descriptor: (Lsun/tools/jconsole/VMPanel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.tools.jconsole.MBeansTab.getTabName:()Ljava/lang/String;
invokespecial sun.tools.jconsole.Tab.<init>:(Lsun/tools/jconsole/VMPanel;Ljava/lang/String;)V
1: aload 0
new sun.tools.jconsole.MBeansTab$1
dup
aload 0
invokespecial sun.tools.jconsole.MBeansTab$1.<init>:(Lsun/tools/jconsole/MBeansTab;)V
putfield sun.tools.jconsole.MBeansTab.ml:Ljava/awt/event/MouseListener;
2: aload 0
aload 0
invokevirtual sun.tools.jconsole.MBeansTab.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: aload 0
invokevirtual sun.tools.jconsole.MBeansTab.setupTab:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/MBeansTab;
0 5 1 vmPanel Lsun/tools/jconsole/VMPanel;
MethodParameters:
Name Flags
vmPanel final
public sun.tools.jconsole.inspector.XDataViewer getDataViewer();
descriptor: ()Lsun/tools/jconsole/inspector/XDataViewer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MBeansTab.viewer:Lsun/tools/jconsole/inspector/XDataViewer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MBeansTab;
public sun.tools.jconsole.inspector.XTree getTree();
descriptor: ()Lsun/tools/jconsole/inspector/XTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MBeansTab;
public sun.tools.jconsole.inspector.XSheet getSheet();
descriptor: ()Lsun/tools/jconsole/inspector/XSheet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MBeansTab;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.tools.jconsole.Tab.dispose:()V
1: aload 0
getfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
invokevirtual sun.tools.jconsole.inspector.XSheet.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/MBeansTab;
public int getUpdateInterval();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MBeansTab.vmPanel:Lsun/tools/jconsole/VMPanel;
invokevirtual sun.tools.jconsole.VMPanel.getUpdateInterval:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MBeansTab;
void synchroniseMBeanServerView();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.jconsole.MBeansTab.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
1: getstatic javax.management.MBeanServerDelegate.DELEGATE_NAME:Ljavax/management/ObjectName;
2: aload 0
3: aconst_null
4: aconst_null
5: invokeinterface javax.management.MBeanServerConnection.addNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
6: goto 16
StackMap locals:
StackMap stack: javax.management.InstanceNotFoundException
7: astore 1
start local 1 8: invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
ifeq 16
9: aload 1
invokevirtual javax.management.InstanceNotFoundException.printStackTrace:()V
end local 1 10: goto 16
11: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 12: invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
ifeq 14
13: aload 1
invokevirtual java.io.IOException.printStackTrace:()V
14: StackMap locals: java.io.IOException
StackMap stack:
aload 0
getfield sun.tools.jconsole.MBeansTab.vmPanel:Lsun/tools/jconsole/VMPanel;
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:()Lsun/tools/jconsole/ProxyClient;
invokevirtual sun.tools.jconsole.ProxyClient.markAsDead:()V
15: return
end local 1 16: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 17: aload 0
invokevirtual sun.tools.jconsole.MBeansTab.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
aconst_null
aconst_null
invokeinterface javax.management.MBeanServerConnection.queryNames:(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set;
astore 1
18: goto 24
StackMap locals: sun.tools.jconsole.MBeansTab java.util.Set
StackMap stack: java.io.IOException
19: astore 2
start local 2 20: invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
ifeq 22
21: aload 2
invokevirtual java.io.IOException.printStackTrace:()V
22: StackMap locals: java.io.IOException
StackMap stack:
aload 0
getfield sun.tools.jconsole.MBeansTab.vmPanel:Lsun/tools/jconsole/VMPanel;
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:()Lsun/tools/jconsole/ProxyClient;
invokevirtual sun.tools.jconsole.ProxyClient.markAsDead:()V
23: return
end local 2 24: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
invokevirtual sun.tools.jconsole.inspector.XTree.removeAll:()V
25: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
iconst_0
invokevirtual sun.tools.jconsole.inspector.XTree.setVisible:(Z)V
26: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 29
StackMap locals: sun.tools.jconsole.MBeansTab java.util.Set top java.util.Iterator
StackMap stack:
27: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.management.ObjectName
astore 2
start local 2 28: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
aload 2
invokevirtual sun.tools.jconsole.inspector.XTree.addMBeanToView:(Ljavax/management/ObjectName;)V
end local 2 29: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
30: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
iconst_1
invokevirtual sun.tools.jconsole.inspector.XTree.setVisible:(Z)V
31: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/tools/jconsole/MBeansTab;
8 10 1 e Ljavax/management/InstanceNotFoundException;
12 16 1 e Ljava/io/IOException;
17 32 1 newSet Ljava/util/Set<Ljavax/management/ObjectName;>;
20 24 2 e Ljava/io/IOException;
28 29 2 mbean Ljavax/management/ObjectName;
Exception table:
from to target type
0 6 7 Class javax.management.InstanceNotFoundException
0 6 11 Class java.io.IOException
17 18 19 Class java.io.IOException
public javax.management.MBeanServerConnection getMBeanServerConnection();
descriptor: ()Ljavax/management/MBeanServerConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.MBeansTab.vmPanel:Lsun/tools/jconsole/VMPanel;
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:()Lsun/tools/jconsole/ProxyClient;
invokevirtual sun.tools.jconsole.ProxyClient.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/MBeansTab;
public void update();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.jconsole.MBeansTab.getMBeanServerConnection:()Ljavax/management/MBeanServerConnection;
invokeinterface javax.management.MBeanServerConnection.getDefaultDomain:()Ljava/lang/String;
pop
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: aload 0
getfield sun.tools.jconsole.MBeansTab.vmPanel:Lsun/tools/jconsole/VMPanel;
invokevirtual sun.tools.jconsole.VMPanel.getProxyClient:()Lsun/tools/jconsole/ProxyClient;
invokevirtual sun.tools.jconsole.ProxyClient.markAsDead:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/MBeansTab;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private void setupTab();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokevirtual sun.tools.jconsole.MBeansTab.setLayout:(Ljava/awt/LayoutManager;)V
1: new javax.swing.JSplitPane
dup
iconst_1
invokespecial javax.swing.JSplitPane.<init>:(I)V
astore 1
start local 1 2: aload 1
sipush 160
invokevirtual javax.swing.JSplitPane.setDividerLocation:(I)V
3: aload 1
invokestatic javax.swing.BorderFactory.createEmptyBorder:()Ljavax/swing/border/Border;
invokevirtual javax.swing.JSplitPane.setBorder:(Ljavax/swing/border/Border;)V
4: aload 0
new sun.tools.jconsole.inspector.XTree
dup
aload 0
invokespecial sun.tools.jconsole.inspector.XTree.<init>:(Lsun/tools/jconsole/MBeansTab;)V
putfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
5: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
new sun.tools.jconsole.inspector.XTreeRenderer
dup
invokespecial sun.tools.jconsole.inspector.XTreeRenderer.<init>:()V
invokevirtual sun.tools.jconsole.inspector.XTree.setCellRenderer:(Ljavax/swing/tree/TreeCellRenderer;)V
6: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
invokevirtual sun.tools.jconsole.inspector.XTree.getSelectionModel:()Ljavax/swing/tree/TreeSelectionModel;
7: iconst_1
8: invokeinterface javax.swing.tree.TreeSelectionModel.setSelectionMode:(I)V
9: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
aload 0
invokevirtual sun.tools.jconsole.inspector.XTree.addTreeSelectionListener:(Ljavax/swing/event/TreeSelectionListener;)V
10: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
aload 0
getfield sun.tools.jconsole.MBeansTab.ml:Ljava/awt/event/MouseListener;
invokevirtual sun.tools.jconsole.inspector.XTree.addMouseListener:(Ljava/awt/event/MouseListener;)V
11: new javax.swing.JScrollPane
dup
12: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
13: bipush 20
14: bipush 30
15: invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;II)V
astore 2
start local 2 16: new javax.swing.JPanel
dup
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
astore 3
start local 3 17: aload 3
aload 2
ldc "Center"
invokevirtual javax.swing.JPanel.add:(Ljava/awt/Component;Ljava/lang/Object;)V
18: aload 1
aload 3
ldc "left"
iconst_0
invokevirtual javax.swing.JSplitPane.add:(Ljava/awt/Component;Ljava/lang/Object;I)V
19: aload 0
new sun.tools.jconsole.inspector.XDataViewer
dup
aload 0
invokespecial sun.tools.jconsole.inspector.XDataViewer.<init>:(Lsun/tools/jconsole/MBeansTab;)V
putfield sun.tools.jconsole.MBeansTab.viewer:Lsun/tools/jconsole/inspector/XDataViewer;
20: aload 0
new sun.tools.jconsole.inspector.XSheet
dup
aload 0
invokespecial sun.tools.jconsole.inspector.XSheet.<init>:(Lsun/tools/jconsole/MBeansTab;)V
putfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
21: aload 1
aload 0
getfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
ldc "right"
iconst_0
invokevirtual javax.swing.JSplitPane.add:(Ljava/awt/Component;Ljava/lang/Object;I)V
22: aload 0
aload 1
invokevirtual sun.tools.jconsole.MBeansTab.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
23: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/tools/jconsole/MBeansTab;
2 24 1 mainSplit Ljavax/swing/JSplitPane;
16 24 2 theScrollPane Ljavax/swing/JScrollPane;
17 24 3 treePanel Ljavax/swing/JPanel;
public void handleNotification(javax.management.Notification, java.lang.Object);
descriptor: (Ljavax/management/Notification;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.management.MBeanServerNotification
ifeq 14
1: aload 1
checkcast javax.management.MBeanServerNotification
invokevirtual javax.management.MBeanServerNotification.getMBeanName:()Ljavax/management/ObjectName;
2: astore 3
start local 3 3: aload 1
invokevirtual javax.management.Notification.getType:()Ljava/lang/String;
4: ldc "JMX.mbean.registered"
5: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
6: ifeq 9
7: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
aload 3
invokevirtual sun.tools.jconsole.inspector.XTree.addMBeanToView:(Ljavax/management/ObjectName;)V
8: goto 14
StackMap locals: javax.management.ObjectName
StackMap stack:
9: aload 1
invokevirtual javax.management.Notification.getType:()Ljava/lang/String;
10: ldc "JMX.mbean.unregistered"
11: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
12: ifeq 14
13: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
aload 3
invokevirtual sun.tools.jconsole.inspector.XTree.delMBeanFromView:(Ljavax/management/ObjectName;)V
end local 3 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 Lsun/tools/jconsole/MBeansTab;
0 15 1 notification Ljavax/management/Notification;
0 15 2 handback Ljava/lang/Object;
3 14 3 mbean Ljavax/management/ObjectName;
MethodParameters:
Name Flags
notification
handback
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "connectionState"
if_acmpne 6
1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 2
start local 2 2: iload 2
ifeq 5
3: aload 0
new sun.tools.jconsole.MBeansTab$2
dup
aload 0
invokespecial sun.tools.jconsole.MBeansTab$2.<init>:(Lsun/tools/jconsole/MBeansTab;)V
invokevirtual sun.tools.jconsole.MBeansTab.workerAdd:(Ljava/lang/Runnable;)V
4: goto 6
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
invokevirtual sun.tools.jconsole.inspector.XSheet.dispose:()V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/MBeansTab;
0 7 1 evt Ljava/beans/PropertyChangeEvent;
2 6 2 connected Z
MethodParameters:
Name Flags
evt
public void valueChanged(javax.swing.event.TreeSelectionEvent);
descriptor: (Ljavax/swing/event/TreeSelectionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.MBeansTab.tree:Lsun/tools/jconsole/inspector/XTree;
invokevirtual sun.tools.jconsole.inspector.XTree.getLastSelectedPathComponent:()Ljava/lang/Object;
checkcast javax.swing.tree.DefaultMutableTreeNode
1: astore 2
start local 2 2: aload 0
getfield sun.tools.jconsole.MBeansTab.sheet:Lsun/tools/jconsole/inspector/XSheet;
aload 2
invokevirtual sun.tools.jconsole.inspector.XSheet.displayNode:(Ljavax/swing/tree/DefaultMutableTreeNode;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/MBeansTab;
0 4 1 e Ljavax/swing/event/TreeSelectionEvent;
2 4 2 node Ljavax/swing/tree/DefaultMutableTreeNode;
MethodParameters:
Name Flags
e
}
SourceFile: "MBeansTab.java"
NestMembers:
sun.tools.jconsole.MBeansTab$1 sun.tools.jconsole.MBeansTab$2
InnerClasses:
sun.tools.jconsole.MBeansTab$1
sun.tools.jconsole.MBeansTab$2