summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/introducing-client
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/launchers/introducing-client')
-rw-r--r--sandbox/travelsample/launchers/introducing-client/src/main/java/scatours/IntroducingClientLauncher.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sandbox/travelsample/launchers/introducing-client/src/main/java/scatours/IntroducingClientLauncher.java b/sandbox/travelsample/launchers/introducing-client/src/main/java/scatours/IntroducingClientLauncher.java
index b45a14cd9c..f261ef6e27 100644
--- a/sandbox/travelsample/launchers/introducing-client/src/main/java/scatours/IntroducingClientLauncher.java
+++ b/sandbox/travelsample/launchers/introducing-client/src/main/java/scatours/IntroducingClientLauncher.java
@@ -26,12 +26,13 @@ import org.apache.tuscany.sca.node.SCANodeFactory;
public class IntroducingClientLauncher {
public static void main(String[] args) throws Exception {
- SCANode node = SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/ClientNode");
+ SCANode node =
+ SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/ClientNode");
node.start();
Runnable client = ((SCAClient)node).getService(Runnable.class, "TestClient/Runnable");
client.run();
-
+
node.stop();
}
}