summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-13 01:40:13 (EST)
committerStefan Liebig2008-02-13 01:40:13 (EST)
commit07ed6c23a8942f952562276162e4bbe2a4422221 (patch)
treec5b2dc15f8f1507e6a2ee73fe781acb821f421b3
parent932ec1bfe94b4cc2b34bf8f16fd163a4708b53a1 (diff)
downloadorg.eclipse.riena-07ed6c23a8942f952562276162e4bbe2a4422221.zip
org.eclipse.riena-07ed6c23a8942f952562276162e4bbe2a4422221.tar.gz
org.eclipse.riena-07ed6c23a8942f952562276162e4bbe2a4422221.tar.bz2
uses new service injector
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/internal/core/config/ConfigFromExtensions.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/config/ConfigFromExtensions.java b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/config/ConfigFromExtensions.java
index 1e7c380..c60764e 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/config/ConfigFromExtensions.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/internal/core/config/ConfigFromExtensions.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.riena.internal.core.config;
-import org.eclipse.riena.core.service.ServiceInjector;
+import org.eclipse.riena.core.service.ServiceId;
import org.osgi.framework.BundleContext;
import org.osgi.service.cm.ConfigurationAdmin;
@@ -40,7 +40,6 @@ public class ConfigFromExtensions {
* described in the classes javadoc.
*/
public void doConfig() {
- new ServiceInjector(context, ConfigurationAdmin.class.getName(),
- new ConfigAdminHandler(context), "bind", "unbind").start();
+ new ServiceId(ConfigurationAdmin.class.getName()).injectInto(new ConfigAdminHandler(context)).start(context);
}
} \ No newline at end of file