gdamour     2005/12/21 09:21:53

  Modified:    modules/core/src/java/org/openejb/mejb MEJB.java
  Log:

  GERONIMO-1397 Clustering of SFSB
  
  First step of many others to add the clustering of SFSB.
  
  This check-in adds the following features:
  * definition of an EJBClusterManager, which abstracts an EJB Cluster node;
  * this EJB cluster node is a standard GBean (the default or
  WADI implementation is DefaultEJBClusterManager);
  * in an openejb-jar.xml DD, a SFSB can declare a reference to this node via
  the ejb-cluster-reference element;
  * when the SFSB container is started, the EJB cluster node notifies
  the cluster that it is running a specific SFSB container;
  * when a clustered SFSB InstanceContext is created, an array of nodes running
  the container of this SFSB is associated to the InstanceContext. Note that
  this array of nodes is updated upon start-up of a clustered SFSB container or
  upon node failure;
  * this array of nodes capable of running the created SFSB is propagated to
  clients. Actually, this array is propagated at each EJB invocation.
  
  Revision  Changes    Path
  1.9       +3 -1      openejb/modules/core/src/java/org/openejb/mejb/MEJB.java
  
  Index: MEJB.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/mejb/MEJB.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MEJB.java 1 Dec 2005 08:34:51 -0000       1.8
  +++ MEJB.java 21 Dec 2005 14:21:53 -0000      1.9
  @@ -53,6 +53,7 @@
   import java.lang.reflect.Method;
   import java.util.Iterator;
   import java.util.LinkedHashMap;
  +
   import javax.ejb.EJBException;
   import javax.ejb.EJBHome;
   import javax.ejb.EJBLocalHome;
  @@ -66,6 +67,7 @@
   import javax.security.auth.Subject;
   
   import net.sf.cglib.reflect.FastClass;
  +
   import org.apache.geronimo.core.service.Invocation;
   import org.apache.geronimo.core.service.InvocationResult;
   import org.apache.geronimo.gbean.GBeanInfo;
  
  
  

Reply via email to