[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/impl ...

Brian Stansberry brian.stansberry at jboss.com
Thu Nov 9 21:48:46 EST 2006


  User: bstansberry
  Date: 06/11/09 21:48:46

  Modified:    src-50/org/jboss/cache/pojo/impl  PojoCacheImpl.java
  Log:
  Rename config property used to control CacheMgmtInterceptor
  
  Revision  Changes    Path
  1.25      +3 -3      JBossCache/src-50/org/jboss/cache/pojo/impl/PojoCacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/impl/PojoCacheImpl.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- PojoCacheImpl.java	31 Oct 2006 06:59:13 -0000	1.24
  +++ PojoCacheImpl.java	10 Nov 2006 02:48:46 -0000	1.25
  @@ -45,7 +45,7 @@
    * Implementation class for PojoCache interface
    *
    * @author Ben Wang
  - * @version $Id: PojoCacheImpl.java,v 1.24 2006/10/31 06:59:13 bwang Exp $
  + * @version $Id: PojoCacheImpl.java,v 1.25 2006/11/10 02:48:46 bstansberry Exp $
    */
   public class PojoCacheImpl implements PojoCache, Observer
   {
  @@ -237,7 +237,7 @@
            throw new PojoCacheException("PojoCache create exception", e);
         }
   
  -      if(cache_.getConfiguration().isUseMbean())
  +      if(cache_.getConfiguration().getExposeManagementStatistics())
         {
            MBeanServer mbserver = JmxUtil.getMBeanServer();
            if (mbserver != null)
  @@ -284,7 +284,7 @@
         cache_.destroy();
   
         // unregister interceptor mbeans
  -      if (cache_.getConfiguration().isUseMbean())
  +      if (cache_.getConfiguration().getExposeManagementStatistics())
         {
            MBeanServer mbserver = JmxUtil.getMBeanServer();
            if (mbserver != null)
  
  
  



More information about the jboss-cvs-commits mailing list