summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-17 14:03:45 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-17 14:03:45 +0000
commitec2a2a7ff7ac0ef90d253784b65540f7dc3d3397 (patch)
treeb30e6dda2fc8bac476e509809a51e43eedf719da
parent5e5a4c9daa1bc9da5ee0d6121e51e067d9017037 (diff)
TUSCANY-3536 add extra output to sample client. Thanks for patch Andy
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
index 53c793806e..b0921aff75 100644
--- a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
+++ b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java
@@ -31,8 +31,9 @@ public class CalculatorClient {
Node node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"}).start();
+ System.out.println("Retrieving Calculator Service From Node");
CalculatorService calculatorService = node.getService(CalculatorService.class, "CalculatorServiceComponent");
-
+ System.out.println("Calling Calculator Operations");
// Calculate
System.out.println("3 + 2=" + calculatorService.add(3, 2));
System.out.println("3 - 2=" + calculatorService.subtract(3, 2));