summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
index 9ae4e302a9..2dc04d8277 100644
--- a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
+++ b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java
@@ -353,7 +353,6 @@ public class HazelcastDomainRegistry extends BaseDomainRegistry implements Domai
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 extends BaseDomainRegistry implements Domai
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;
}