[jbosscache-commits] JBoss Cache SVN: r6542 - core/trunk/src/main/java/org/jboss/cache.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Aug 7 15:05:05 EDT 2008


Author: mircea.markus
Date: 2008-08-07 15:05:04 -0400 (Thu, 07 Aug 2008)
New Revision: 6542

Modified:
   core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java
Log:
fixed wrong commit

Modified: core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java	2008-08-07 18:43:08 UTC (rev 6541)
+++ core/trunk/src/main/java/org/jboss/cache/DefaultCacheFactory.java	2008-08-07 19:05:04 UTC (rev 6542)
@@ -14,12 +14,8 @@
 import org.jboss.cache.factories.ComponentFactory;
 import org.jboss.cache.factories.ComponentRegistry;
 import org.jboss.cache.invocation.CacheInvocationDelegate;
-import org.jboss.cache.jmx.MBeanRegistryHelper;
-import org.jboss.cache.jmx.CacheJmxWrapper;
-import org.jboss.cache.jmx.ResourceDMBean;
 
 import java.io.InputStream;
-import java.util.Set;
 
 /**
  * Default implementation of the {@link org.jboss.cache.CacheFactory} interface.
@@ -127,10 +123,6 @@
       this.configuration = configuration;
 
       componentRegistry.registerComponent(spi, CacheSPI.class);
-      if (configuration.getExposeManagementStatistics())
-      {
-         componentRegistry.registerComponent(new MBeanRegistryHelper(componentRegistry), MBeanRegistryHelper.class);
-      }
    }
 
    /**




More information about the jbosscache-commits mailing list