summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-09 21:46:04 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-09 21:46:04 +0000
commit36072114b7e9e4fad507ec60443b5fc40d670d39 (patch)
treedecb0a08f19a4d575ee4c333c6ed01a59a5aa1b9 /sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports
parentdd6a6ba5665f09da2f3a70bcb8af7bc88b4684e0 (diff)
Remove org.apache.tuscany.sca.node.Client and merge the methods into org.apache.tuscany.sca.node.Node
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports')
-rw-r--r--sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports/CalculatorClient.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports/CalculatorClient.java b/sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports/CalculatorClient.java
index 254b8100e1..c029b06a8c 100644
--- a/sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports/CalculatorClient.java
+++ b/sca-java-2.x/trunk/itest/implementation-spring/src/test/java/context/imports/CalculatorClient.java
@@ -21,10 +21,10 @@ package context.imports;
import java.io.File;
-import org.apache.tuscany.sca.node.Client;
+import org.apache.tuscany.sca.node.Contribution;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
-import org.apache.tuscany.sca.node.Contribution;
+
import calculator.CalculatorService;
/**
@@ -40,7 +40,7 @@ public class CalculatorClient {
node.start();
CalculatorService calculatorService =
- ((Client)node).getService(CalculatorService.class, "CalculatorServiceComponent");
+ node.getService(CalculatorService.class, "CalculatorServiceComponent");
System.out.println("3 + 2=" + calculatorService.add(3, 2));
System.out.println("3 - 2=" + calculatorService.subtract(3, 2));