diff options
author | slewis | 2018-03-15 16:04:44 +0000 |
---|---|---|
committer | slewis | 2018-03-15 16:04:44 +0000 |
commit | 9013a2c0fc21468951f105b05d2e88c1b621c7f0 (patch) | |
tree | 4b91be24879385b7c09aae0ca3301f1abe8c264a /examples/bundles/com.mycorp.examples.timeservice.host/src | |
parent | 04409504a18579c8fe90b18a8d9bb72bc84cdddb (diff) | |
download | org.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
Change-Id: I410039d247b59160e1ad75a3c93c419a167442f3
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.java | 4 |
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)); } } |