summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-10 08:59:41 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-10 08:59:41 +0000
commit383ff6bf4c96aed0bcad3d3b1517dfdd5ad67046 (patch)
tree62960a65e5bf5198e59856b7cc7adb429ce390a0 /sca-java-2.x/trunk/modules/domain-node
parentf994244a9382082a12137de66b7506f97bda3e99 (diff)
Update the registry to support getting the QName and Composite, and use that in teh hazelcast registry to manage the running composites
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
index c49f2f68fd..c7a8a6087e 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
@@ -222,8 +222,8 @@ public class NodeImpl implements Node {
domainComposite.setAutowire(false);
domainComposite.setLocal(false);
List<Composite> domainIncludes = domainComposite.getIncludes();
- for (Composite composite : endpointRegistry.getRunningComposites()) {
- domainIncludes.add(composite);
+ for (QName compositeName : endpointRegistry.getRunningCompositeNames()) {
+ domainIncludes.add(endpointRegistry.getRunningComposite(compositeName));
}
return domainComposite;
}