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

Manik Surtani msurtani at jboss.com
Wed Sep 6 11:30:55 EDT 2006


  User: msurtani
  Date: 06/09/06 11:30:55

  Modified:    src/org/jboss/cache/factories   DefaultCacheFactory.java
                        InterceptorChainFactory.java
  Log:
  Removed TreeCache dependency on ServiceMBeanSupport
  
  Revision  Changes    Path
  1.8       +29 -29    JBossCache/src/org/jboss/cache/factories/DefaultCacheFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: DefaultCacheFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/DefaultCacheFactory.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- DefaultCacheFactory.java	17 Aug 2006 21:57:58 -0000	1.7
  +++ DefaultCacheFactory.java	6 Sep 2006 15:30:55 -0000	1.8
  @@ -41,7 +41,7 @@
           {
               TreeCache cache = new TreeCache();
               cache.setConfiguration(configuration);
  -            if (start) cache.startService();
  +         if (start) cache.start();
               return cache.getCacheSPI();
           }
           catch (Exception e)
  
  
  
  1.29      +1 -0      JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InterceptorChainFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -b -r1.28 -r1.29
  --- InterceptorChainFactory.java	5 Sep 2006 11:24:45 -0000	1.28
  +++ InterceptorChainFactory.java	6 Sep 2006 15:30:55 -0000	1.29
  @@ -62,6 +62,7 @@
      {
         Interceptor i = (Interceptor) clazz.newInstance();
         i.setCache(cache);
  +      i.setStatisticsEnabled(cache.getConfiguration().isUseInterceptorMbeans());
         return i;
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list