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

Manik Surtani msurtani at jboss.com
Wed Jan 10 11:25:22 EST 2007


  User: msurtani
  Date: 07/01/10 11:25:22

  Modified:    src/org/jboss/cache/config   Configuration.java
                        RuntimeConfig.java
  Log:
  Removed cloning cache configs by default
  
  Revision  Changes    Path
  1.36      +1 -3      JBossCache/src/org/jboss/cache/config/Configuration.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Configuration.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/Configuration.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- Configuration.java	10 Jan 2007 04:38:00 -0000	1.35
  +++ Configuration.java	10 Jan 2007 16:25:22 -0000	1.36
  @@ -670,9 +670,7 @@
         {
            c.setRuntimeConfig((RuntimeConfig) runtimeConfig.clone());
            // always make sure we reset the runtime when cloning.
  -         // c.getRuntimeConfig().reset();
  -         // don't reset the runtime for now, just un-set the NodeFactory.
  -         c.getRuntimeConfig().setNodeFactory(null);
  +         c.getRuntimeConfig().reset();
         }
         return c;
      }
  
  
  
  1.5       +1 -3      JBossCache/src/org/jboss/cache/config/RuntimeConfig.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RuntimeConfig.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/RuntimeConfig.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- RuntimeConfig.java	5 Jan 2007 11:42:52 -0000	1.4
  +++ RuntimeConfig.java	10 Jan 2007 16:25:22 -0000	1.5
  @@ -29,9 +29,7 @@
       */
      public void reset()
      {
  -      transactionManager = null;
  -      muxChannelFactory = null;
  -      mbeanServer = null;
  +      // only reset the node factory for now.
         nodeFactory = null;
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list