code: public void register() throws ManagementException {
          try {
              DynamicMBean dynamicMBean = new IntrospectedDynamicMBean(mBean);
              mBeanServer.registerMBean(dynamicMBean, mBeanObjectName);
          } catch (Exception e) {
              throw new ManagementException(e);
          }
      }
docs: Register the MXBean.
  If the registration fails, a WARN message is logged
  @throws java.beans.IntrospectionException
  @throws IntrospectionException
  @throws NotCompliantMBeanException
  @throws MBeanRegistrationException
  @throws InstanceAlreadyExistsException