Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2018-03-15 16:04:44 +0000
committerslewis2018-03-15 16:04:44 +0000
commit9013a2c0fc21468951f105b05d2e88c1b621c7f0 (patch)
tree4b91be24879385b7c09aae0ca3301f1abe8c264a /examples/bundles/com.mycorp.examples.timeservice.host/src
parent04409504a18579c8fe90b18a8d9bb72bc84cdddb (diff)
downloadorg.eclipse.ecf-9013a2c0fc21468951f105b05d2e88c1b621c7f0.tar.gz
org.eclipse.ecf-9013a2c0fc21468951f105b05d2e88c1b621c7f0.tar.xz
org.eclipse.ecf-9013a2c0fc21468951f105b05d2e88c1b621c7f0.zip
Fix for example code to take osgi intents via system properties
Diffstat (limited to 'examples/bundles/com.mycorp.examples.timeservice.host/src')
-rw-r--r--examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java b/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java
index 526182f85..6150852c0 100644
--- a/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java
+++ b/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java
@@ -73,7 +73,9 @@ public class Activator implements BundleActivator {
for (Object k : props.keySet()) {
if (k instanceof String) {
String key = (String) k;
- if (key.startsWith(config) || key.startsWith("osgi.") || key.startsWith("service."))
+ if (key.startsWith(config) || key.startsWith("osgi.basic") || key.startsWith("osgi.private")
+ || key.startsWith("osgi.confidential") || key.startsWith("osgi.async")
+ || key.startsWith("service."))
result.put(key, props.get(key));
}
}

Back to the top