User: d_jencks
  Date: 02/03/01 07:59:05

  Modified:    src/main/org/jboss/deployment EARDeployer.java
  Log:
  removed doubled J2EEApplication.create from init method, leaving the one in create 
where it belongs
  
  Revision  Changes    Path
  1.8       +1 -15     jboss/src/main/org/jboss/deployment/EARDeployer.java
  
  Index: EARDeployer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/EARDeployer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EARDeployer.java  22 Feb 2002 04:24:55 -0000      1.7
  +++ EARDeployer.java  1 Mar 2002 15:59:05 -0000       1.8
  @@ -49,7 +49,7 @@
   /**
   *
   * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
  -* @version $Revision: 1.7 $
  +* @version $Revision: 1.8 $
   */
   public class EARDeployer
   extends ServiceMBeanSupport
  @@ -131,15 +131,6 @@
            throw new DeploymentException("Error in accessing application metadata: ", 
e);
         }
         
  -      // Create the appropriate JSR-77 instance
  -//      /*  
  -      ObjectName lApplication = J2EEApplication.create(
  -         server,
  -         di.shortName,
  -         di.url
  -         // di.getApplicationDeploymentDescriptor()
  -      );
  -//      */
      }
      
      
  @@ -149,14 +140,11 @@
         // now try to deploy
         log.info("Deploying J2EE application, create step: " + di.url);
         // Create the appropriate JSR-77 instance
  -//      /*  
         ObjectName lApplication = J2EEApplication.create(
            server,
            di.shortName,
            di.url
  -         // di.getApplicationDeploymentDescriptor()
         );
  -//      */
      }
      
      public void start(DeploymentInfo di)
  @@ -179,13 +167,11 @@
      public void destroy(DeploymentInfo di) throws DeploymentException
      {
         log.info("Undeploying J2EE application, destroy step: " + di.url);
  -//      /*
         // Destroy the appropriate JSR-77 instance
         J2EEApplication.destroy(
            server,
            di.shortName
         );
  -//      */
      }
      
      
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to