You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2006/02/20 11:55:31 UTC

svn commit: r379077 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java

Author: rickhall
Date: Mon Feb 20 02:55:28 2006
New Revision: 379077

URL: http://svn.apache.org/viewcvs?rev=379077&view=rev
Log:
Added Export-Service manifest header to the system bundle.

Modified:
    incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java?rev=379077&r1=379076&r2=379077&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java (original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/SystemBundle.java Mon Feb 20 02:55:28 2006
@@ -131,7 +131,12 @@
         map.put(FelixConstants.BUNDLE_DESCRIPTION,
             "This bundle is system specific; it implements various system services.");
         map.put(FelixConstants.EXPORT_PACKAGE, exportSB.toString());
+        map.put(FelixConstants.EXPORT_SERVICE, "org.osgi.service.packageadmin.PackageAdmin,org.osgi.service.startlevel.StartLevel");
         ((SystemBundleArchive) getInfo().getArchive()).setManifestHeader(map);
+
+        // TODO: FRAMEWORK - We need some systematic way for framework services
+        // to add packages and services to the system bundle's headers, something
+        // that will allow for them to be independently configured.
     }
 
     public R4Export[] getExports()