code: public static void registerMXBean(Cache<?, ?> cache, Object mxbean, MBeanType type) {
      ObjectName objectName = getObjectName(cache, type);
      register(objectName, mxbean);
    }
docs: Registers the JMX management bean for the cache.
  
  @param cache the cache to register
  @param mxbean the management bean
  @param type the mxbean type