[jboss-cvs] JBossAS SVN: r68174 - trunk/ejb3/src/main/org/jboss/ejb3/stateful.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 11 23:44:10 EST 2007


Author: bdecoste
Date: 2007-12-11 23:44:10 -0500 (Tue, 11 Dec 2007)
New Revision: 68174

Modified:
   trunk/ejb3/src/main/org/jboss/ejb3/stateful/StatefulBeanContext.java
Log:
[EJBTHREE-1019] calling local proxies remotely

Modified: trunk/ejb3/src/main/org/jboss/ejb3/stateful/StatefulBeanContext.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/stateful/StatefulBeanContext.java	2007-12-12 02:51:57 UTC (rev 68173)
+++ trunk/ejb3/src/main/org/jboss/ejb3/stateful/StatefulBeanContext.java	2007-12-12 04:44:10 UTC (rev 68174)
@@ -145,6 +145,7 @@
       
       this.containerClusterUid = Ejb3Registry.clusterUid(container);
       this.containerGuid = Ejb3Registry.guid(container);
+      this.isClustered = container.isClustered();
       this.beanMO = beanMO;
    }
    
@@ -160,6 +161,7 @@
       
       this.containerClusterUid = Ejb3Registry.clusterUid(container);
       this.containerGuid = Ejb3Registry.guid(container);
+      this.isClustered = container.isClustered();
       this.id = new GUID();
    }
 
@@ -383,6 +385,7 @@
          nested.container = getContainer();
          nested.containerClusterUid = containerClusterUid;
          nested.containerGuid = containerGuid;
+         nested.isClustered = isClustered;
          nested.replicationIsPassivation = replicationIsPassivation;
          containedIn.addContains(nested);
          thisPtr = new ProxiedStatefulBeanContext(nested);
@@ -923,6 +926,7 @@
 
       state.containerClusterUid = containerClusterUid;
       state.containerGuid = containerGuid;
+      state.isClustered = isClustered;
       state.id = this.id;
       state.lastUsed = this.lastUsed;
       state.metadata = this.metadata;




More information about the jboss-cvs-commits mailing list