diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-18 09:38:01 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-18 09:38:01 +0000 |
commit | 23bc8ca050d93d3a25f16485181470a9276b2649 (patch) | |
tree | c0bcffd1b1b28378e6080d957c0df5a922aa88f8 /sca-java-2.x/trunk/modules/shell/src/main | |
parent | 6924b2029c548cbb27ba28854d466227666b46bb (diff) |
Updates to match the DomainRegistry changes to rename addListener/removeListener to be addEndpointListener/removeEndpointListener as there are now multiple types of listener, and change the running composite methods to use the composite uri instead of its QName
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1124143 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/shell/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java index 010dc0fa0a..75b78be54b 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java @@ -35,8 +35,6 @@ import java.util.List; import java.util.Map;
import java.util.concurrent.Callable;
-import javax.xml.namespace.QName;
-
import org.apache.tuscany.sca.Node;
import org.apache.tuscany.sca.TuscanyRuntime;
import org.apache.tuscany.sca.assembly.Binding;
@@ -450,9 +448,9 @@ public class Shell { out.println("Standalone Nodes:");
for (String nodeName : standaloneNodes.keySet()) {
Node node = standaloneNodes.get(nodeName);
- Map<String, List<QName>> scs = node.getStartedComposites();
+ Map<String, List<String>> scs = node.getStartedCompositeURIs();
for (String curi : scs.keySet()) {
- for (QName dc : scs.get(curi)) {
+ for (String dc : scs.get(curi)) {
out.println(" " + nodeName + " " + dc);
}
}
@@ -471,14 +469,12 @@ public class Shell { }
for (String curi : ics) {
- List<QName> cs = node.getStartedComposites().get(curi);
+ List<String> cs = node.getStartedCompositeURIs().get(curi);
if (cs != null) {
- for (QName compositeQN : cs) {
+ for (String compositeURI : cs) {
out.println(" " + curi
+ " "
- + "XXX"
- + " "
- + compositeQN);
+ + compositeURI);
}
}
}
|