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

Ben Wang bwang at jboss.com
Fri Sep 8 03:52:20 EDT 2006


  User: bwang   
  Date: 06/09/08 03:52:20

  Modified:    src-50/org/jboss/cache/pojo/impl  PojoCacheImpl.java
  Log:
  added toStart option
  
  Revision  Changes    Path
  1.20      +2 -2      JBossCache/src-50/org/jboss/cache/pojo/impl/PojoCacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/impl/PojoCacheImpl.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- PojoCacheImpl.java	5 Sep 2006 06:11:25 -0000	1.19
  +++ PojoCacheImpl.java	8 Sep 2006 07:52:20 -0000	1.20
  @@ -65,7 +65,7 @@
       */
      protected boolean hasListeners = false;
   
  -   public PojoCacheImpl(String configStr)
  +   public PojoCacheImpl(String configStr, boolean toStart)
      {
         try
         {
  @@ -76,7 +76,7 @@
            Configuration expected = parser.parseFile( configStr );
   
            DefaultCacheFactory factory = new DefaultCacheFactory();
  -         cache_ = (CacheSPI)factory.createCache(expected);
  +         cache_ = (CacheSPI)factory.createCache(expected, toStart);
         } catch (Exception e)
         {
            e.printStackTrace();
  
  
  



More information about the jboss-cvs-commits mailing list