diff options
author | mkuppe | 2010-02-23 11:10:06 +0000 |
---|---|---|
committer | mkuppe | 2010-02-23 11:10:06 +0000 |
commit | 4c342f0ae518f89691b963a7f58787260aa10b93 (patch) | |
tree | 95f3028850d2783654ed8284b7e4a155cb9513f9 /protocols | |
parent | 496031b09763c969eafad23887d31a42a4815b0c (diff) | |
download | org.eclipse.ecf-4c342f0ae518f89691b963a7f58787260aa10b93.tar.gz org.eclipse.ecf-4c342f0ae518f89691b963a7f58787260aa10b93.tar.xz org.eclipse.ecf-4c342f0ae518f89691b963a7f58787260aa10b93.zip |
Use OSGi R3 API only
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/bundles/ch.ethz.iks.slp/runtimeTests/src/main/java/ch/ethz/iks/slp/test/DistributedTestActivator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/bundles/ch.ethz.iks.slp/runtimeTests/src/main/java/ch/ethz/iks/slp/test/DistributedTestActivator.java b/protocols/bundles/ch.ethz.iks.slp/runtimeTests/src/main/java/ch/ethz/iks/slp/test/DistributedTestActivator.java index 3bf1ce42c..4f8875f85 100644 --- a/protocols/bundles/ch.ethz.iks.slp/runtimeTests/src/main/java/ch/ethz/iks/slp/test/DistributedTestActivator.java +++ b/protocols/bundles/ch.ethz.iks.slp/runtimeTests/src/main/java/ch/ethz/iks/slp/test/DistributedTestActivator.java @@ -82,7 +82,7 @@ public class DistributedTestActivator extends TestActivator implements ServiceLi final boolean adv = Arrays.equals((String[]) objectClass, new String[]{Advertiser.class.getName()}); // r-OSGi also registers the same service with this framework, however we want to explicitly use the services remoted by ecf distribution - final String symbolicName = aServiceReference.getBundle().getSymbolicName(); + final String symbolicName = (String) aServiceReference.getBundle().getHeaders().get("Bundle-SymbolicName"); final boolean remote = symbolicName.equals("org.eclipse.ecf.osgi.services.distribution"); // final boolean remote = symbolicName.startsWith("R-OSGi Proxy Bundle generated for Endpoint"); |