summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/databinding/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-05 21:14:49 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-05 21:14:49 +0000
commit8c049462ff6387d8c3f69f4e42a4c4b36e38a90c (patch)
tree3e6b1ec1ab2e2a724d9228ca55052394c3034060 /sandbox/travelsample/launchers/databinding/src
parent68c3920fc0ba41c6a9ebf062bd41e5ebf647e51b (diff)
Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@833174 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/databinding/src')
-rw-r--r--sandbox/travelsample/launchers/databinding/src/main/java/scatours/DatabindingLauncher.java13
1 files changed, 5 insertions, 8 deletions
diff --git a/sandbox/travelsample/launchers/databinding/src/main/java/scatours/DatabindingLauncher.java b/sandbox/travelsample/launchers/databinding/src/main/java/scatours/DatabindingLauncher.java
index 1ae22baca6..61f6b74582 100644
--- a/sandbox/travelsample/launchers/databinding/src/main/java/scatours/DatabindingLauncher.java
+++ b/sandbox/travelsample/launchers/databinding/src/main/java/scatours/DatabindingLauncher.java
@@ -27,19 +27,16 @@ import org.apache.tuscany.sca.node.SCANodeFactory;
public class DatabindingLauncher {
public static void main(String[] args) throws Exception {
- SCANode node1 = SCANodeFactory.newInstance().createSCANode(null,
- locate("paymentjava"),
- locate("client"));
-
- SCANode node2 = SCANodeFactory.newInstance().createSCANode(null,
- locate("creditcardpaymentsdo"));
-
+ SCANode node1 = SCANodeFactory.newInstance().createSCANode(null, locate("paymentjava"), locate("client"));
+
+ SCANode node2 = SCANodeFactory.newInstance().createSCANode(null, locate("creditcardpaymentsdo"));
+
node1.start();
node2.start();
Runnable runner = ((SCAClient)node1).getService(Runnable.class, "TestClient/Runnable");
runner.run();
-
+
node1.stop();
node2.stop();
}