killbill-aplcache

util: add missing exports from the system bundle This is to

2/18/2013 2:06:49 AM

Details

diff --git a/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java b/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
index 46d7806..52e5a19 100644
--- a/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
+++ b/util/src/main/java/com/ning/billing/util/config/OSGIConfig.java
@@ -59,8 +59,14 @@ public interface OSGIConfig extends KillbillConfig {
              "javax.servlet;version=3.0," +
              "javax.servlet.http;version=3.0," +
              "org.osgi.service.log;version=1.3," +
-             // Let the world know the System bundle exposes the requirement (osgi.wiring.package=org.osgi.service.http)
-             "org.osgi.service.http")
+             // Let the world know the System bundle exposes (via org.osgi.compendium) the requirement (osgi.wiring.package=org.osgi.service.http)
+             "org.osgi.service.http," +
+             // Let the world know the System bundle exposes (via org.osgi.compendium) the requirement (&(osgi.wiring.package=org.osgi.service.deploymentadmin)(version>=1.1.0)(!(version>=2.0.0)))
+             "org.osgi.service.deploymentadmin;version=1.1.0," +
+             // Let the world know the System bundle exposes (via org.osgi.compendium) the requirement (&(osgi.wiring.package=org.osgi.service.event)(version>=1.2.0)(!(version>=2.0.0)))
+             "org.osgi.service.event;version=1.2.0," +
+             // Let the world know the System bundle exposes the requirement (&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))
+             "org.slf4j;version=1.7.2")
     public String getSystemBundleExportPackages();
 
     // TODO FIXME OSGI