docs: public void unregisterMBeans(Collection<ResourceDMBean> resourceDMBeans) throws CacheException {
        log.trace("Unregistering jmx resources..");
        try {
           for (ResourceDMBean resource : resourceDMBeans) {
              JmxUtil.unregisterMBean(getObjectName(resource), mBeanServer);
           }
        }
        catch (Exception e) {
           throw new CacheException("Failure while unregistering mbeans", e);
        }
     }