summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/shell/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-07-07 07:41:59 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-07-07 07:41:59 +0000
commitb34b56247e817aea072f567b6da28ca32dcb0bb3 (patch)
tree9385934f372f48bfd688c9011312bbca8cad3c9f /sca-java-2.x/trunk/modules/shell/src/main
parent33b752cd109a887c8f219e859f5b5f82e49d9ca0 (diff)
Add bye command
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961274 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.java3
1 files changed, 3 insertions, 0 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 67c2eb29a8..fb1318da40 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
@@ -331,6 +331,9 @@ public class Shell {
if (op.equalsIgnoreCase("stop")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return stop(toks);
}};
+ if (op.equalsIgnoreCase("bye")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ return stop(null);
+ }};
if (op.equalsIgnoreCase("start")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return start(toks.get(1), toks.get(2));
}};