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

Brian Stansberry brian.stansberry at jboss.com
Thu Jul 20 17:43:36 EDT 2006


  User: bstansberry
  Date: 06/07/20 17:43:36

  Modified:    src/org/jboss/cache/interceptors  
                        PessimisticLockInterceptor.java TxInterceptor.java
  Log:
  Pass setCache() call to superclass so we have a ref to the cache
  
  Revision  Changes    Path
  1.22      +2 -1      JBossCache/src/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PessimisticLockInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/PessimisticLockInterceptor.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- PessimisticLockInterceptor.java	19 Jul 2006 21:34:43 -0000	1.21
  +++ PessimisticLockInterceptor.java	20 Jul 2006 21:43:36 -0000	1.22
  @@ -37,7 +37,7 @@
    * current method and unlock when the method returns.
    *
    * @author Bela Ban
  - * @version $Id: PessimisticLockInterceptor.java,v 1.21 2006/07/19 21:34:43 msurtani Exp $
  + * @version $Id: PessimisticLockInterceptor.java,v 1.22 2006/07/20 21:43:36 bstansberry Exp $
    */
   public class PessimisticLockInterceptor extends Interceptor {
      TransactionTable           tx_table=null;
  @@ -48,6 +48,7 @@
   
   
      public void setCache(CacheSPI cache) {
  +      super.setCache(cache);   
         tx_table=cache.getTransactionTable();
         lock_table=cache.getLockTable();
         lock_acquisition_timeout=cache.getConfiguration().getLockAcquisitionTimeout();
  
  
  
  1.53      +1 -0      JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TxInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -b -r1.52 -r1.53
  --- TxInterceptor.java	20 Jul 2006 09:03:51 -0000	1.52
  +++ TxInterceptor.java	20 Jul 2006 21:43:36 -0000	1.53
  @@ -67,6 +67,7 @@
   
       public void setCache(CacheSPI cache)
       {
  +        super.setCache(cache);
           txManager = cache.getTransactionManager();
           txTable = cache.getTransactionTable();
       }
  
  
  



More information about the jboss-cvs-commits mailing list