docs: public static void registerMbean(Object mbean, ObjectName name) {
          registerMbean(ManagementFactory.getPlatformMBeanServer(),
                        JmxUtils.createModelMBean(mbean),
                        name);
      }