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

Manik Surtani msurtani at jboss.com
Wed Jul 19 04:29:17 EDT 2006


  User: msurtani
  Date: 06/07/19 04:29:17

  Modified:    src/org/jboss/cache/factories  DefaultCacheFactory.java
  Log:
  Migration to new CacheLoader interface
  
  Revision  Changes    Path
  1.4       +1 -3      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.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- DefaultCacheFactory.java	19 Jul 2006 05:10:12 -0000	1.3
  +++ DefaultCacheFactory.java	19 Jul 2006 08:29:17 -0000	1.4
  @@ -9,9 +9,7 @@
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   import org.jboss.cache.Cache;
  -import org.jboss.cache.NodeImpl;
   import org.jboss.cache.TreeCache;
  -import org.jboss.cache.TreeCacheProxyImpl;
   import org.jboss.cache.config.Configuration;
   import org.jboss.cache.config.ConfigurationException;
   import org.jboss.cache.config.ConfigurationImpl;
  @@ -57,7 +55,7 @@
               cache.setConfiguration(configuration);
               configureCache(cache, configuration);
               if (start) cache.startService();
  -            return new TreeCacheProxyImpl(cache, (NodeImpl) cache.root);
  +            return cache.getSPI();
           }
           catch (Exception e)
           {
  
  
  



More information about the jboss-cvs-commits mailing list