code: @SuppressWarnings("unchecked")
    public static Object getMBean(final Class c,
                                  final String name) throws Throwable {
      final MBeanServer server = getMbeanServer();
  
  //    return MBeanProxyExt.create(c, name, server);
      return JMX.newMBeanProxy(server, new ObjectName(name), c);
    }
docs: Create a proxy to the given mbean
  
  @param c
  @param name
  @return proxy to the mbean
  @throws Throwable