User: sylvain 
  Date: 00/05/30 19:39:58

  Modified:    src/java/org/ejboss/container ContainerFactory.java
  Log:
  removed initContainers(EjbJar ejbJar) in favor of initContainers(EjbJar ejbJar, 
String owner, String application)
  
  Revision  Changes    Path
  1.5       +0 -47     ejboss/src/java/org/ejboss/container/ContainerFactory.java
  
  Index: ContainerFactory.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/ejboss/src/java/org/ejboss/container/ContainerFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ContainerFactory.java     2000/05/26 18:08:38     1.4
  +++ ContainerFactory.java     2000/05/31 02:39:58     1.5
  @@ -54,53 +54,6 @@
   /*
   /******************************************************************************/
   /******************************************************************************/
  -
  -    /*
  -    * initContainers(EjbJar)
  -    *
  -    * We pass an Jar containing at least one bean to this factory.
  -    * For each bean encountered in this EjbJar, we create and init a container
  -    * taking into account the type of the Enterprise Bean
  -    *
  -    * @param EjbJar the EjbJar containing all the beans
  -    *
  -    */
  -    public Collection initContainers(EjbJar ejbJar) {
  -
  -        // Get the enterprise beans
  -
  -        EnterpriseBeans beans = ejbJar.getEnterpriseBeans();
  -        
  -             // We return the list of beans to the caller
  -         
  -        Vector beanNames = new Vector();
  -             
  -        // Iterate through the enterprise bean instances in the jar
  -
  -        Iterator iterator = beans.iterator();
  -
  -        while (iterator.hasNext()) {
  -
  -            // Get the Enterprise bean
  -
  -            EnterpriseBean ejb = (EnterpriseBean) iterator.next();
  -
  -            // set the name on the vector for a list of names
  -
  -            beanNames.add(ejb.getEjbName());
  -                     
  -                 // For now we deploy a "Container" we should test the type of the 
bean here
  -
  -            Container container = new Container();
  -
  -            // We need the bean instance and the full Jar for the assembly 
descriptor
  -
  -            container.init(ejb, ejbJar);
  -        }
  -             
  -             return beanNames;  
  -
  -    }
        
         /*
       * initContainers(EjbJar, owner, application)
  
  
  

Reply via email to