< prev index next >

application/org.openjdk.jmc.rjmx/src/main/java/org/openjdk/jmc/rjmx/internal/RJMXConnection.java

Print this page

        

@@ -73,11 +73,10 @@
 import org.openjdk.jmc.rjmx.ConnectionToolkit;
 import org.openjdk.jmc.rjmx.IConnectionDescriptor;
 import org.openjdk.jmc.rjmx.IServerDescriptor;
 import org.openjdk.jmc.rjmx.RJMXPlugin;
 import org.openjdk.jmc.rjmx.services.IOperation;
-import org.openjdk.jmc.rjmx.services.internal.MBeanOperationsWrapper;
 import org.openjdk.jmc.rjmx.subscription.IMBeanHelperService;
 import org.openjdk.jmc.rjmx.subscription.IMBeanServerChangeListener;
 import org.openjdk.jmc.rjmx.subscription.IMRIService;
 import org.openjdk.jmc.rjmx.subscription.MRI;
 import org.openjdk.jmc.rjmx.subscription.internal.AttributeValueToolkit;

@@ -576,11 +575,11 @@
          *             if the connection failed or some other problem occurred when trying create
          *             operations.
          */
         public Collection<IOperation> getOperations(ObjectName mbean) throws Exception {
                 MBeanServerConnection srv = ensureConnected();
-                return new MBeanOperationsWrapper(mbean, srv.getMBeanInfo(mbean).getOperations(), srv);
+                return MBeanOperationWrapper.createOperations(mbean, srv.getMBeanInfo(mbean).getOperations(), srv);
         }
 
         IMRIService getMRIService() {
                 return m_mbeanDataProvider;
         }
< prev index next >