You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2010/07/29 17:34:59 UTC

svn commit: r980474 - /tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java

Author: slaws
Date: Thu Jul 29 15:34:59 2010
New Revision: 980474

URL: http://svn.apache.org/viewvc?rev=980474&view=rev
Log:
TUSCANY-3639 - ensure that the service wire is created at the same time as the binding wire is created

Modified:
    tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java?rev=980474&r1=980473&r2=980474&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java Thu Jul 29 15:34:59 2010
@@ -212,6 +212,12 @@ public class RuntimeEndpointImpl extends
             bindingInvocationChain = new InvocationChainImpl(null, null, false, phaseManager);
             initServiceBindingInvocationChains();
         }
+        
+        // Init the operation invocation chains now. We know they will 
+        // be needed as well as the binding invocation chain and this
+        // makes the wire processors run
+        getInvocationChains();
+        
         return bindingInvocationChain;
     }