Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2010-01-23 23:48:02 +0000
committerslewis2010-01-23 23:48:02 +0000
commit947b8f58850311e91d862d196ef106ceb0ffa75f (patch)
tree9843117be25883b3d1f2b8226e03efa66bb556f9 /examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host
parent3763d4a74d788566b001d5e6a5b31493e2609802 (diff)
downloadorg.eclipse.ecf-947b8f58850311e91d862d196ef106ceb0ffa75f.tar.gz
org.eclipse.ecf-947b8f58850311e91d862d196ef106ceb0ffa75f.tar.xz
org.eclipse.ecf-947b8f58850311e91d862d196ef106ceb0ffa75f.zip
Removed default of true for defaultproxycontainerfinder autoCreateContainer
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host')
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
index cb474d78f..456276a6b 100644
--- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
+++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
@@ -14,9 +14,7 @@ import java.util.Properties;
import org.eclipse.ecf.examples.remoteservices.hello.IHello;
import org.eclipse.ecf.examples.remoteservices.hello.impl.Hello;
-import org.eclipse.ecf.osgi.services.distribution.DefaultProxyContainerFinder;
import org.eclipse.ecf.osgi.services.distribution.IDistributionConstants;
-import org.eclipse.ecf.osgi.services.distribution.IProxyContainerFinder;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
import org.osgi.framework.BundleContext;
@@ -42,8 +40,6 @@ public class HelloHostApplication implements IApplication,
bundleContext = Activator.getContext();
// Process Arguments
processArgs(appContext);
- // Disable the proxy container finder, so that a new proxy is not created locally (as this is a server)
- disableProxyContainerFinder();
// Setup properties for remote service distribution, as per OSGi 4.2 remote services
// specification (chap 13 in compendium spec)
Properties props = new Properties();
@@ -65,10 +61,6 @@ public class HelloHostApplication implements IApplication,
return IApplication.EXIT_OK;
}
- private void disableProxyContainerFinder() {
- bundleContext.registerService(IProxyContainerFinder.class.getName(), new DefaultProxyContainerFinder(false), null);
- }
-
public void stop() {
if (helloRegistration != null) {
helloRegistration.unregister();

Back to the top