[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/jmx ...
Manik Surtani
msurtani at jboss.com
Tue Jan 2 13:26:06 EST 2007
User: msurtani
Date: 07/01/02 13:26:06
Modified: tests/functional/org/jboss/cache/jmx CacheMBeanTest.java
Log:
Cleaned up cache factory
Revision Changes Path
1.8 +1 -1 JBossCache/tests/functional/org/jboss/cache/jmx/CacheMBeanTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheMBeanTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/jmx/CacheMBeanTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- CacheMBeanTest.java 30 Dec 2006 17:50:06 -0000 1.7
+++ CacheMBeanTest.java 2 Jan 2007 18:26:06 -0000 1.8
@@ -31,7 +31,7 @@
c.setClusterName("CacheMBeanTest");
c.setExposeManagementStatistics(true);
c.setCacheMode(Configuration.CacheMode.LOCAL);
- cache = DefaultCacheFactory.createCache(c);
+ cache = DefaultCacheFactory.getInstance().createCache(c);
mBeanNameStr = JmxUtil.PREFIX + cache.getConfiguration().getClusterName();
mBeanName = new ObjectName(mBeanNameStr);
More information about the jboss-cvs-commits
mailing list