incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r943954 - /incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java
Date Thu, 13 May 2010 17:50:28 GMT
Author: gnodet
Date: Thu May 13 17:50:27 2010
New Revision: 943954

URL: http://svn.apache.org/viewvc?rev=943954&view=rev
Log:
[subsystem] include headers for applications and libraries

Modified:
    incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java

Modified: incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java?rev=943954&r1=943953&r2=943954&view=diff
==============================================================================
--- incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java
(original)
+++ incubator/aries/trunk/subsystem/subsystem-api/src/main/java/org/apache/aries/subsystem/SubsystemConstants.java
Thu May 13 17:50:27 2010
@@ -22,6 +22,12 @@ public class SubsystemConstants {
         // non-instantiable
     }
 
+    //====================================================
+    //
+    //   Subsystem manifest headers
+    //
+    //====================================================
+
     /**
      * The subsystem manifest version header must be present and equals to 1.0
      * for this version of subsystems.
@@ -67,6 +73,66 @@ public class SubsystemConstants {
     public static final String SUBSYSTEM_EXPORTSERVICE       = "Subsystem-ExportService";
     public static final String SUBSYSTEM_REQUIREBUNDLE       = "Subsystem-RequireBundle";
 
+    //====================================================
+    //
+    //   Application manifest headers
+    //
+    //====================================================
+
+    /**
+     * The subsystem manifest version header must be present and equals to 1.0
+     * for this version of applications.
+     */
+    public static final String APPLICATION_MANIFESTVERSION   = "Application-ManifestVersion";
+
+    /**
+     * Symbolic name for the application.  Must be present.
+     */
+    public static final String APPLICATION_SYMBOLICNAME      = "Application-SymbolicName";
+
+    /**
+     * Version of the application
+     */
+    public static final String APPLICATION_VERSION           = "Application-Version";
+
+    /**
+     * Human readable name
+     */
+    public static final String APPLICATION_NAME              = "Application-Name";
+
+    //====================================================
+    //
+    //   Library manifest headers
+    //
+    //====================================================
+
+    /**
+     * The subsystem manifest version header must be present and equals to 1.0
+     * for this version of applications.
+     */
+    public static final String LIBRARY_MANIFESTVERSION       = "Library-ManifestVersion";
+
+    /**
+     * Symbolic name for the application.  Must be present.
+     */
+    public static final String LIBRARY_SYMBOLICNAME          = "Library-SymbolicName";
+
+    /**
+     * Version of the application
+     */
+    public static final String LIBRARY_VERSION               = "Library-Version";
+
+    /**
+     * Human readable name
+     */
+    public static final String LIBRARY_NAME                  = "Library-Name";
+
+    //====================================================
+    //
+    //   Attributes used in headers
+    //
+    //====================================================
+
     /**
      * Directive on the manifest header of a composite indicating the
      * composite is managed as a subsystem.
@@ -114,14 +180,5 @@ public class SubsystemConstants {
      */
     public static final String RESOURCE_START_LEVEL_ATTRIBUTE      = "start-level";
 
-    /*
-    String APPLICATION_SYMBOLICNAME = "Application-SymbolicName";
-    String APPLICATION_VERSION = "Application-Version";
-    String APPLICATION_NAME = "Application-Name";
-
-    String LIBRARY_SYMBOLICNAME = "Library-SymbolicName";
-    String LIBRARY_VERSION = "Library-Version";
-    String LIBRARY_NAME = "Library-Name";
-    */
 
 }



Mime
View raw message