tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1126331 - /tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
Date Mon, 23 May 2011 06:35:28 GMT
Author: antelder
Date: Mon May 23 06:35:28 2011
New Revision: 1126331

URL: http://svn.apache.org/viewvc?rev=1126331&view=rev
Log:
Set the composites contribution URI when its read

Modified:
    tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java

Modified: tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java?rev=1126331&r1=1126330&r2=1126331&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
Mon May 23 06:35:28 2011
@@ -353,7 +353,6 @@ public class HazelcastDomainRegistry ext
         return endpoint;
     }
     
-
     private void setNormailizedWSDLContract(Endpoint endpoint) throws WSDLException {
         String wsdl = endpointWsdls == null ? null : (String)endpointWsdls.get(endpoint.getURI());
         if (wsdl == null || wsdl.length() < 1) {
@@ -595,7 +594,9 @@ public class HazelcastDomainRegistry ext
         if (cs != null) {
             String compositeXML = cs.get(compositeURI);
             // TODO: cache the Composite locally so that it doesn't get deserialized multiple
times
-            return readComposite(compositeXML);
+            Composite composite = readComposite(compositeXML);
+            composite.setContributionURI(contributionURI);
+            return composite;
         }
         return null;
     }



Mime
View raw message