[jboss-cvs] JBossAS SVN: r65974 - projects/ejb3/branches/cluster-dev/ejb3-cache/src/main/java/org/jboss/ejb3/cache/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 9 11:49:04 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-10-09 11:49:04 -0400 (Tue, 09 Oct 2007)
New Revision: 65974

Modified:
   projects/ejb3/branches/cluster-dev/ejb3-cache/src/main/java/org/jboss/ejb3/cache/impl/SimplePassivatingCache2.java
Log:
Always update the store; let it check whether the entry is dirty and do what it wants

Modified: projects/ejb3/branches/cluster-dev/ejb3-cache/src/main/java/org/jboss/ejb3/cache/impl/SimplePassivatingCache2.java
===================================================================
--- projects/ejb3/branches/cluster-dev/ejb3-cache/src/main/java/org/jboss/ejb3/cache/impl/SimplePassivatingCache2.java	2007-10-09 15:08:17 UTC (rev 65973)
+++ projects/ejb3/branches/cluster-dev/ejb3-cache/src/main/java/org/jboss/ejb3/cache/impl/SimplePassivatingCache2.java	2007-10-09 15:49:04 UTC (rev 65974)
@@ -190,6 +190,7 @@
          if(!entry.isInUse())
             throw new IllegalStateException("entry " + entry + " is not in use");
          entry.setInUse(false);
+         store.update(entry);
          return entry;
       }
    }




More information about the jboss-cvs-commits mailing list