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

Manik Surtani msurtani at jboss.com
Wed Sep 13 11:53:05 EDT 2006


  User: msurtani
  Date: 06/09/13 11:53:05

  Modified:    src/org/jboss/cache   TreeCache.java TreeCacheProxyImpl.java
  Log:
  - Added unit test for cache API
  - Added facility for making certain config elements immutable
  
  Revision  Changes    Path
  1.245     +4 -3      JBossCache/src/org/jboss/cache/TreeCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
  retrieving revision 1.244
  retrieving revision 1.245
  diff -u -b -r1.244 -r1.245
  --- TreeCache.java	12 Sep 2006 16:32:27 -0000	1.244
  +++ TreeCache.java	13 Sep 2006 15:53:04 -0000	1.245
  @@ -93,7 +93,7 @@
    * @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
    * @author Brian Stansberry
    * @author Daniel Huang (dhuang at jboss.org)
  - * @version $Id: TreeCache.java,v 1.244 2006/09/12 16:32:27 vblagojevic Exp $
  + * @version $Id: TreeCache.java,v 1.245 2006/09/13 15:53:04 msurtani Exp $
    *          <p/>
    * @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
    */
  @@ -277,14 +277,14 @@
       * will be ignored by _getState().
       */
      protected final Set activationChangeNodes = Collections.synchronizedSet(new HashSet());
  -   boolean started;
  +   public boolean started;
   
      public Configuration getConfiguration()
      {
         return configuration;
      }
   
  -   private Configuration configuration = new Configuration();
  +   private Configuration configuration = new Configuration(this);
   
      private RPCManager rpcManager;
   
  @@ -3572,6 +3572,7 @@
      public void setConfiguration(Configuration configuration)
      {
         this.configuration = configuration;
  +      configuration.setTreeCache(this);
      }
   
      /**
  
  
  
  1.32      +0 -0      JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  
  
  



More information about the jboss-cvs-commits mailing list