[jboss-cvs] JBossAS SVN: r60645 - branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/cache/tree.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 19 03:52:16 EST 2007


Author: bstansberry at jboss.com
Date: 2007-02-19 03:52:16 -0500 (Mon, 19 Feb 2007)
New Revision: 60645

Modified:
   branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/cache/tree/StatefulEvictionPolicy.java
Log:
[EJBTHREE-867] Loosen coupling of lifecycle of nested SFSBs
[EJBTHREE-849] Properly handle passivation/activation callbacks for nested SFSBs

Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/cache/tree/StatefulEvictionPolicy.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/cache/tree/StatefulEvictionPolicy.java	2007-02-19 08:51:44 UTC (rev 60644)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/cache/tree/StatefulEvictionPolicy.java	2007-02-19 08:52:16 UTC (rev 60645)
@@ -58,7 +58,7 @@
          }
          synchronized (bean)
          {
-            if (bean.inUse)
+            if (bean.isInUse())
             {
                bean.markedForPassivation = true;
                super.evict(fqn);




More information about the jboss-cvs-commits mailing list