servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r614144 - /servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java
Date Tue, 22 Jan 2008 08:30:51 GMT
Author: gnodet
Date: Tue Jan 22 00:30:39 2008
New Revision: 614144

URL: http://svn.apache.org/viewvc?rev=614144&view=rev
Log:
Fix problem caused by upgrade to spring-osgi rc2

Modified:
    servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java

Modified: servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java?rev=614144&r1=614143&r2=614144&view=diff
==============================================================================
--- servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java
(original)
+++ servicemix/smx4/nmr/trunk/nmr/spring/src/main/java/org/apache/servicemix/nmr/spring/ReferenceFactory.java
Tue Jan 22 00:30:39 2008
@@ -129,7 +129,7 @@
                 throw new IllegalArgumentException("nmr not set while bundleContext is null");
             }
             OsgiServiceProxyFactoryBean factory = new OsgiServiceProxyFactoryBean();
-            factory.setInterface(new Class[] { NMR.class });
+            factory.setInterfaces(new Class[] { NMR.class });
             factory.setBundleContext(getBundleContext());
             nmr = (NMR) factory.getObject();
         }



Mime
View raw message