jdk/src/share/classes/sun/tools/jconsole/MBeansTab.java
changeset 697 fb86c99b92a2
parent 55 5ecee29e98d8
child 715 f16baef3a20e
--- a/jdk/src/share/classes/sun/tools/jconsole/MBeansTab.java	Sat Jun 07 16:11:57 2008 +0100
+++ b/jdk/src/share/classes/sun/tools/jconsole/MBeansTab.java	Tue Jun 10 13:50:06 2008 +0200
@@ -37,6 +37,7 @@
 import javax.swing.*;
 import javax.swing.event.*;
 import javax.swing.tree.*;
+import sun.tools.jconsole.ProxyClient.SnapshotMBeanServerConnection;
 import sun.tools.jconsole.inspector.*;
 
 import com.sun.tools.jconsole.JConsoleContext;
@@ -154,6 +155,10 @@
         return vmPanel.getProxyClient().getMBeanServerConnection();
     }
 
+    public SnapshotMBeanServerConnection getSnapshotMBeanServerConnection() {
+        return vmPanel.getProxyClient().getSnapshotMBeanServerConnection();
+    }
+
     @Override
     public void update() {
         // Ping the connection to see if it is still alive. At