[jboss-cvs] JBossCache/src/org/jboss/cache/jmx ...

Brian Stansberry brian.stansberry at jboss.com
Mon Nov 6 00:00:56 EST 2006


  User: bstansberry
  Date: 06/11/06 00:00:56

  Modified:    src/org/jboss/cache/jmx  JmxUtil.java
  Log:
  Improve translation between pojo and plain cache object names
  
  Revision  Changes    Path
  1.5       +3 -1      JBossCache/src/org/jboss/cache/jmx/JmxUtil.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JmxUtil.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/jmx/JmxUtil.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- JmxUtil.java	5 Nov 2006 20:19:43 -0000	1.4
  +++ JmxUtil.java	6 Nov 2006 05:00:56 -0000	1.5
  @@ -36,7 +36,7 @@
    *
    * @author Jerry Gauthier
    * @author Manik Surtani
  - * @version $Id: JmxUtil.java,v 1.4 2006/11/05 20:19:43 bstansberry Exp $
  + * @version $Id: JmxUtil.java,v 1.5 2006/11/06 05:00:56 bstansberry Exp $
    */
   public class JmxUtil
   {
  @@ -45,6 +45,8 @@
      public static final String JBOSS_CACHE_DOMAIN = "jboss.cache";
      public static final String PREFIX = JBOSS_CACHE_DOMAIN + ":service=Cache,clusterName=";
      private static final String JBOSS_SERVER_DOMAIN = "jboss";
  +   public static final String CACHE_TYPE_KEY = "cacheType=";
  +   public static final String PLAIN_CACHE_TYPE = "cacheType=Cache";
   
      public static void registerCacheMBean(MBeanServer server, CacheMBean cache, String cacheObjectName)
            throws Exception
  
  
  



More information about the jboss-cvs-commits mailing list