User: fleury  
  Date: 00/06/01 22:56:37

  Modified:    src/main/org/jboss/ejb Container.java
  Log:
  we go back to a simple pool design even for the stateful session
  
  Revision  Changes    Path
  1.12      +5 -6      jboss/src/main/org/jboss/ejb/Container.java
  
  Index: Container.java
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/ejb/Container.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Container.java    2000/06/01 23:23:26     1.11
  +++ Container.java    2000/06/02 05:56:37     1.12
  @@ -63,7 +63,7 @@
    *   @see ContainerFactory
    *   @author Rickard �berg ([EMAIL PROTECTED])
    *    @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
  - *   @version $Revision: 1.11 $
  + *   @version $Revision: 1.12 $
    */
   public abstract class Container
   {
  @@ -229,8 +229,7 @@
         setupEnvironment();
          
                // Initialize pool 
  -             // MF FIXME: the instancePool does not belong here, it belongs to 
statelessC and entityC
  -      if (instancePool != null) instancePool.init();
  +       instancePool.init();
         
           // Initialize the interceptor by calling the chain
         Interceptor in = interceptor;
  @@ -246,7 +245,7 @@
         throws Exception
      {
                // Start the instance pool
  -      if (instancePool != null) instancePool.start();
  +       instancePool.start();
         
                // Start all interceptors in the chain          
         Interceptor in = interceptor;
  @@ -260,7 +259,7 @@
      public void stop() 
      {
                // Stop the instance pool
  -      if (instancePool != null) instancePool.stop();
  +       instancePool.stop();
         
                // Stop all interceptors in the chain           
         Interceptor in = interceptor;
  @@ -274,7 +273,7 @@
      public void destroy() 
      {
                // Destroy the pool
  -      if (instancePool != null) instancePool.destroy();
  +       instancePool.destroy();
         
                // Destroy all the interceptors in the chain            
         Interceptor in = interceptor;
  
  
  

Reply via email to