[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/mgmt ...

Manik Surtani msurtani at jboss.com
Thu Sep 7 09:52:29 EDT 2006


  User: msurtani
  Date: 06/09/07 09:52:29

  Modified:    tests/functional/org/jboss/cache/mgmt  NotificationTest.java
  Log:
  cleaned up jmx interfaces, fixed tx and gtx allocation problems
  
  Revision  Changes    Path
  1.10      +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.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- NotificationTest.java	6 Sep 2006 16:42:59 -0000	1.9
  +++ NotificationTest.java	7 Sep 2006 13:52:29 -0000	1.10
  @@ -6,8 +6,8 @@
   import org.jboss.cache.config.Configuration;
   import org.jboss.cache.factories.XmlConfigurationParser;
   import org.jboss.cache.interceptors.CacheMgmtInterceptor;
  +import org.jboss.cache.jmx.JmxUtil;
   import org.jboss.cache.loader.CacheLoader;
  -import org.jboss.cache.util.MBeanConfigurator;
   import org.jboss.cache.xml.XmlHelper;
   import org.w3c.dom.Element;
   
  @@ -22,7 +22,7 @@
    * Functional tests for CacheMgmtInterceptor broadcast of cache event notifications
    *
    * @author Jerry Gauthier
  - * @version $Id: NotificationTest.java,v 1.9 2006/09/06 16:42:59 msurtani Exp $
  + * @version $Id: NotificationTest.java,v 1.10 2006/09/07 13:52:29 msurtani Exp $
    */
   public class NotificationTest extends TestCase
   {
  @@ -87,7 +87,7 @@
   
         MyListener listener = new MyListener();
   
  -      ObjectName mgmt = new ObjectName(MBeanConfigurator.PREFIX + cache.getConfiguration().getClusterName() + MGMT_SERVICE);
  +      ObjectName mgmt = new ObjectName(JmxUtil.PREFIX + cache.getConfiguration().getClusterName() + MGMT_SERVICE);
         m_server.addNotificationListener(mgmt, listener, null, null);
   
         // start the cache after registering listener - this will trigger CacheStarted
  
  
  



More information about the jboss-cvs-commits mailing list