User: fleury  
  Date: 00/05/26 15:59:36

  Modified:    src/java/org/ejboss/deployment/deployer/implementations
                        DeployerBean.java
  Log:
  Forgot the deployer
  
  Revision  Changes    Path
  1.4       +9 -3      
ejboss/src/java/org/ejboss/deployment/deployer/implementations/DeployerBean.java
  
  Index: DeployerBean.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/ejboss/src/java/org/ejboss/deployment/deployer/implementations/DeployerBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeployerBean.java 2000/05/25 00:03:41     1.3
  +++ DeployerBean.java 2000/05/26 22:59:36     1.4
  @@ -49,14 +49,19 @@
   
       public Collection deployJar(URL jarURL) throws DeployerException {
   
  -        if (jarURL != null) {
  +         return deployJar(jarURL, "default owner", "default application");
  +    }
  +     
  +     public Collection deployJar(URL jarURL, String owner, String application) 
throws DeployerException {
  +              
  +              if (jarURL != null) {
   
               System.out.println("DeployerBean.deployJar("+ jarURL.toString()+")");
   
               try {
                   EjbJar ejbJar = new EjbJar(jarURL);
                   ejbJar.setClientJar(jarURL.toString());
  -                return deployer.deploy(ejbJar);
  +                return deployer.deploy(ejbJar, owner, application);
               }
               catch (Exception e) {
                   System.out.println("Deployment failed");
  @@ -69,5 +74,6 @@
   
               throw new DeployerException("Null jarURL was passed");
           }
  -    }
  +             
  +     }
   }
  
  
  

Reply via email to