summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-20 08:41:02 (EST)
committerStefan Liebig2008-02-20 08:41:02 (EST)
commite2b6128ef4994f57ec8d7fd3bd5faec7795ff7ff (patch)
treead3c8f8590d4d326aa980f4fb87ff7d086f191f3
parent70da5ffc2db8516322fb53095d8780d8b2509a11 (diff)
downloadorg.eclipse.riena.old-e2b6128ef4994f57ec8d7fd3bd5faec7795ff7ff.zip
org.eclipse.riena.old-e2b6128ef4994f57ec8d7fd3bd5faec7795ff7ff.tar.gz
org.eclipse.riena.old-e2b6128ef4994f57ec8d7fd3bd5faec7795ff7ff.tar.bz2
refactored service injector
-rw-r--r--org.eclipse.riena.communication.discovery/src/org/eclipse/riena/internal/communication/discovery/Activator.java2
-rw-r--r--org.eclipse.riena.exceptionmanager/src/org/eclipse/riena/internal/exceptionmanager/Activator.java2
2 files changed, 2 insertions, 2 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 233dfc8..de5ed8a 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
@@ -40,7 +40,7 @@ public class Activator implements BundleActivator {
discovery = new RemoteServiceDiscovery(context);
discovery.setRemoteServiceFactory(factory);
- registryInjector = new ServiceId(IRemoteServiceRegistry.ID).injectInto(discovery).start(context);
+ registryInjector = new ServiceId(IRemoteServiceRegistry.ID).injectInto(discovery).andStart(context);
discovery.start();
// Thread t = new Thread() {
diff --git a/org.eclipse.riena.exceptionmanager/src/org/eclipse/riena/internal/exceptionmanager/Activator.java b/org.eclipse.riena.exceptionmanager/src/org/eclipse/riena/internal/exceptionmanager/Activator.java
index 4a8458e..d04c461 100644
--- a/org.eclipse.riena.exceptionmanager/src/org/eclipse/riena/internal/exceptionmanager/Activator.java
+++ b/org.eclipse.riena.exceptionmanager/src/org/eclipse/riena/internal/exceptionmanager/Activator.java
@@ -41,7 +41,7 @@ public class Activator implements BundleActivator {
ExceptionHandlerManagerDefault handlerManager = new ExceptionHandlerManagerDefault();
String handlerId = IExceptionHandler.ID;
- handlerManagerInjector = new ServiceId(handlerId).injectInto(handlerManager).start(context);
+ handlerManagerInjector = new ServiceId(handlerId).injectInto(handlerManager).andStart(context);
Hashtable<String, String> properties = new Hashtable<String, String>(0);
handlerManagerReg = context.registerService(IExceptionHandlerManager.ID, handlerManager, properties);