felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r930814 - /felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java
Date Mon, 05 Apr 2010 07:56:34 GMT
Author: pderop
Date: Mon Apr  5 07:56:33 2010
New Revision: 930814

URL: http://svn.apache.org/viewvc?rev=930814&view=rev
Log:
applied DependencyManager.createAdapterService() API modification: service name is now defined
as a String, not as a Class

Modified:
    felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java

Modified: felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java?rev=930814&r1=930813&r2=930814&view=diff
==============================================================================
--- felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java
(original)
+++ felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/AdapterTest.java
Mon Apr  5 07:56:33 2010
@@ -52,7 +52,7 @@ public class AdapterTest extends Base {
         Service sp = m.createService().setImplementation(new ServiceProvider(e)).setInterface(ServiceInterface.class.getName(),
null);
         Service sp2 = m.createService().setImplementation(new ServiceProvider2(e)).setInterface(ServiceInterface2.class.getName(),
null);
         Service sc = m.createService().setImplementation(new ServiceConsumer()).add(m.createServiceDependency().setService(ServiceInterface3.class).setRequired(true));
-        Service sa = m.createAdapterService(ServiceInterface.class, null, ServiceInterface3.class,
new ServiceAdapter(e), null);
+        Service sa = m.createAdapterService(ServiceInterface.class, null, ServiceInterface3.class.getName(),
new ServiceAdapter(e), null);
         m.add(sc);
         m.add(sp);
         m.add(sp2);



Mime
View raw message