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

Manik Surtani manik at jboss.org
Tue May 22 10:11:47 EDT 2007


  User: msurtani
  Date: 07/05/22 10:11:47

  Modified:    src/org/jboss/cache  CacheImpl.java
  Log:
  broken sequence of events in creating interceptor stack
  
  Revision  Changes    Path
  1.67      +6 -1      JBossCache/src/org/jboss/cache/CacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -b -r1.66 -r1.67
  --- CacheImpl.java	22 May 2007 11:43:35 -0000	1.66
  +++ CacheImpl.java	22 May 2007 14:11:47 -0000	1.67
  @@ -661,6 +661,12 @@
            cacheLoaderManager.startCacheLoader();
         }
   
  +      // first set up the Buddy Manager
  +      if (configuration.getCacheMode() != Configuration.CacheMode.LOCAL)
  +      {
  +         setBuddyReplicationConfig(configuration.getBuddyReplicationConfig());
  +      }
  +
         // now that we have a TM we can init the interceptor chain
         // build interceptor chain
         try
  @@ -683,7 +689,6 @@
            case INVALIDATION_SYNC:
               if (log.isDebugEnabled()) log.debug("cache mode is " + configuration.getCacheMode());
               initialiseChannelAndRpcDispatcher();
  -            setBuddyReplicationConfig(configuration.getBuddyReplicationConfig());
   
               try
               {
  
  
  



More information about the jboss-cvs-commits mailing list