[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/mgmt ...
Manik Surtani
msurtani at jboss.com
Fri Jan 5 09:27:15 EST 2007
User: msurtani
Date: 07/01/05 09:27:15
Modified: tests/functional/org/jboss/cache/mgmt NotificationTest.java
Log:
fixed some stuff
Revision Changes Path
1.17 +3 -3 JBossCache/tests/functional/org/jboss/cache/mgmt/NotificationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NotificationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/mgmt/NotificationTest.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- NotificationTest.java 4 Jan 2007 16:17:38 -0000 1.16
+++ NotificationTest.java 5 Jan 2007 14:27:15 -0000 1.17
@@ -24,11 +24,11 @@
* Functional tests for CacheMgmtInterceptor broadcast of cache event notifications
*
* @author Jerry Gauthier
- * @version $Id: NotificationTest.java,v 1.16 2007/01/04 16:17:38 msurtani Exp $
+ * @version $Id: NotificationTest.java,v 1.17 2007/01/05 14:27:15 msurtani Exp $
*/
public class NotificationTest extends TestCase
{
- private static final String MGMT_SERVICE = ",treecache-interceptor=CacheMgmtInterceptor";
+ private static final String MGMT_SERVICE = ",cache-interceptor=CacheMgmtInterceptor";
private static final String CLUSTER_NAME = "NotificationTestCluster";
private static final String CAPITAL = "capital";
@@ -67,7 +67,7 @@
m_server = MBeanServerFactory.createMBeanServer();
cache = createCache(CLUSTER_NAME);
// bind manually for now.
- ObjectName mgmt = new ObjectName(JmxUtil.PREFIX + cache.getConfiguration().getClusterName() + MGMT_SERVICE);
+ ObjectName mgmt = new ObjectName(JmxUtil.PREFIX + cache.getConfiguration().getClusterName());
CacheJmxWrapper cacheMBean = new CacheJmxWrapper(cache);
m_server.registerMBean(cacheMBean, mgmt);
More information about the jboss-cvs-commits
mailing list