User: cgjung  
  Date: 01/05/21 04:30:56

  Modified:    src/main/org/jboss/deployment Deployment.java
  Log:
  added (transient) manifest entry that hosts the annotation of the
  locally downloaded ear.
  
  Revision  Changes    Path
  1.8       +17 -1     jboss/src/main/org/jboss/deployment/Deployment.java
  
  Index: Deployment.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/Deployment.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Deployment.java   2001/05/18 15:04:56     1.7
  +++ Deployment.java   2001/05/21 11:30:56     1.8
  @@ -13,10 +13,12 @@
   import java.util.Vector;
   import java.util.Date;
   
  +import java.util.jar.Manifest;
  +
   /** Represents a J2EE application or module (EJB.jar, Web.war or App.ear). <br>
   *
   *  @author <a href="mailto:[EMAIL PROTECTED]";>Daniel Schulze</a>
  -*  @version $Revision: 1.7 $
  +*  @version $Revision: 1.8 $
   */
   public class Deployment
      implements java.io.Serializable
  @@ -43,6 +45,13 @@
      /** the WEB Modules */
      protected Vector webModules;
   
  +   /** the manifest entry of the deployment (if any)
  +    *  manifest is not serializable ... is only needed
  +    *  at deployment time, so we mark it transient 
  +    *  @author cgjung
  +    */
  +   protected transient Manifest manifest;
  +   
      /** Creates a new Deployment object. */
      Deployment ()
      {
  @@ -103,6 +112,13 @@
       return webModules;
      }
   
  +   /** returns the manifest entry of the deployment 
  +    *  @autor cgjung
  +    */
  +   public Manifest getManifest() {
  +       return manifest;
  +   }
  +   
      /** returns all files (URLs) that are needed to run this deployment properly */
        public Vector getAllFiles()
        {
  
  
  

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

Reply via email to