summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-03-10 12:31:04 (EDT)
committerChristian Campo2008-03-10 12:31:04 (EDT)
commitc0a648ee79629d9b8f56790575bfeab5c021c731 (patch)
tree054fcc45bc87f12be1ce29b451b42a6d845bfbcb
parentee5daad24ea201058d4d6f6529da1fe1db08b3f0 (diff)
downloadorg.eclipse.riena.old-c0a648ee79629d9b8f56790575bfeab5c021c731.zip
org.eclipse.riena.old-c0a648ee79629d9b8f56790575bfeab5c021c731.tar.gz
org.eclipse.riena.old-c0a648ee79629d9b8f56790575bfeab5c021c731.tar.bz2
added "useRanking()" to several places where the service injector is usedsprint_20080314
-rw-r--r--org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java b/org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java
index 0275e39..44d225c 100644
--- a/org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java
+++ b/org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java
@@ -44,7 +44,8 @@ public class Activator extends RienaActivator {
discovery = new RemoteServiceDiscovery(context);
discovery.setRemoteServiceFactory(factory);
- registryInjector = new ServiceId(IRemoteServiceRegistry.ID).injectInto(discovery).andStart(context);
+ registryInjector = new ServiceId(IRemoteServiceRegistry.ID).useRanking().injectInto(discovery)
+ .andStart(context);
discovery.start();
servicePublisherReg = factory.createAndRegisterProxy(IServicePublishEventDispatcher.class,