summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node/src/main/java
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-19 07:13:05 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-19 07:13:05 +0000
commit96b8adf748b455a3004b75de9f64a80747a6b399 (patch)
tree8e233bac79083d263bae1f6aa30568b659442248 /sca-java-2.x/trunk/modules/domain-node/src/main/java
parent8a2e35b2c973cbe5ed29d419f6ffd295e709ce96 (diff)
Add a method to get the domain members
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1124566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/main/java')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/Node.java2
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java5
2 files changed, 7 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/Node.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/Node.java
index 5005708431..279ed709a3 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/Node.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/Node.java
@@ -239,6 +239,8 @@ public interface Node {
void validateContribution(String string) throws ContributionReadException, ValidationException;
+ List<String> getMembers();
+
// TODO: Add methods to get:
// active members in domain
// which composites are running on which members
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 bd17f9ddb3..7027ee8c53 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
@@ -387,4 +387,9 @@ public class NodeImpl implements Node {
}
+ @Override
+ public List<String> getMembers() {
+ return domainRegistry.getMembers();
+ }
+
}