docs: public void registerMBeans(Collection<ResourceDMBean> resourceDMBeans) throws CacheException {
        try {
           for (ResourceDMBean resource : resourceDMBeans)
              JmxUtil.registerMBean(resource, getObjectName(resource), mBeanServer);
        }
        catch (Exception e) {
           throw new CacheException("Failure while registering mbeans", e);
        }
     }