tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1348852 - /tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java
Date Mon, 11 Jun 2012 13:59:52 GMT
Author: antelder
Date: Mon Jun 11 13:59:51 2012
New Revision: 1348852

URL: http://svn.apache.org/viewvc?rev=1348852&view=rev
Log:
Update to avoid duplicated wire processors

Modified:
    tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java

Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java?rev=1348852&r1=1348851&r2=1348852&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DefaultWireProcessorExtensionPoint.java
Mon Jun 11 13:59:51 2012
@@ -91,6 +91,7 @@ public class DefaultWireProcessorExtensi
         try {
             Collection<ServiceDeclaration> sds =
                 registry.getServiceDiscovery().getServiceDeclarations(RuntimeWireProcessor.class,
true);
+            sds = ServiceDiscovery.removeDuplicateDeclarations(sds);
             for (ServiceDeclaration sd : sds) {
                 Class type = sd.loadClass();
                 Constructor constructor = null;



Mime
View raw message