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

Manik Surtani msurtani at jboss.com
Sat Dec 30 12:49:57 EST 2006


  User: msurtani
  Date: 06/12/30 12:49:57

  Modified:    src-50/org/jboss/cache/pojo  PojoTreeCache.java
  Log:
  Major changes to restructure cache and node object model
  
  Revision  Changes    Path
  1.17      +5 -13     JBossCache/src-50/org/jboss/cache/pojo/PojoTreeCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoTreeCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/PojoTreeCache.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- PojoTreeCache.java	20 Nov 2006 03:59:39 -0000	1.16
  +++ PojoTreeCache.java	30 Dec 2006 17:49:56 -0000	1.17
  @@ -7,22 +7,15 @@
   package org.jboss.cache.pojo;
   
   import org.jboss.cache.CacheException;
  -import org.jboss.cache.DataNode;
  +import org.jboss.cache.CacheImpl;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.Node;
  -import org.jboss.cache.RegionNotEmptyException;
  -import org.jboss.cache.TreeCache;
  -//import org.jboss.cache.aop.statetransfer.PojoStateTransferManager;
  -import org.jboss.cache.pojo.eviction.AopEvictionPolicy;
  -import org.jboss.cache.pojo.util.ObjectUtil;
   import org.jgroups.JChannel;
   import org.w3c.dom.Element;
   
   import javax.transaction.Transaction;
  -import java.util.Iterator;
  -import java.util.Map;
   
  -public class PojoTreeCache extends TreeCache
  +public class PojoTreeCache extends CacheImpl
   {
      private Element config_ = null;
   //   boolean detachPojoWhenEvicted_ = false;
  @@ -83,7 +76,7 @@
      }
   
      /**
  -    * Overrides the {@link TreeCache#activateRegion(String) superclass method} by
  +    * Overrides the {@link CacheImpl#activateRegion(String) superclass method} by
       * ensuring that the internal region where information on shared object is stored
       * has been activated.
       */
  @@ -92,7 +85,7 @@
      public void activateRegion(String subtreeFqn) throws RegionNotEmptyException, RegionNameConflictException, CacheException
      {
         if (!getConfiguration().isUseRegionBasedMarshalling())
  -         throw new IllegalStateException("TreeCache.activateRegion(). useRegionBasedMarshalling flag is not set!");
  +         throw new IllegalStateException("CacheImpl.activateRegion(). useRegionBasedMarshalling flag is not set!");
   
         if ("/".equals(subtreeFqn))
         {
  @@ -120,7 +113,6 @@
         }
      }
      */
  -
      public Object getLockOwner()
      {
         return getOwnerForLock();
  
  
  



More information about the jboss-cvs-commits mailing list