summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/introducing-launcher/src/main
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-05-23 16:42:58 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-05-23 16:42:58 +0000
commit393e9ef21b45ac96ce70ca0c1f0f397528d81c79 (patch)
treedb0348daf8320106868825190f34411c4df88ff5 /sandbox/travelsample/launchers/introducing-launcher/src/main
parent057fd77c4848a5efaec8eca7e969011d2e4a00b3 (diff)
Rename launcher class for introducing-launcher module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@777959 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/launchers/introducing-launcher/src/main')
-rw-r--r--sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java (renamed from sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/LaunchIntroducingNode.java)16
1 files changed, 2 insertions, 14 deletions
diff --git a/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/LaunchIntroducingNode.java b/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java
index 580851d327..47796a16da 100644
--- a/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/LaunchIntroducingNode.java
+++ b/sandbox/travelsample/launchers/introducing-launcher/src/main/java/scatours/IntroducingLauncher.java
@@ -27,10 +27,10 @@ import org.apache.tuscany.sca.node.SCAContribution;
import org.apache.tuscany.sca.node.SCANode;
import org.apache.tuscany.sca.node.SCANodeFactory;
-public class LaunchIntroducingNode {
+public class IntroducingLauncher {
public static void main(String[] args) throws Exception {
- LaunchIntroducingNode.launchFromFileSystemDir();
+ IntroducingLauncher.launchFromFileSystemDir();
}
// OK for development but you must launch the node from this module
@@ -45,18 +45,6 @@ public class LaunchIntroducingNode {
Runnable runner = ((SCAClient)node).getService(Runnable.class, "TestClient/Runnable");
runner.run();
- /*
- Bookings bookings = ((SCAClient)node).getService(Bookings.class,
- "TripBooking/Bookings");
-
- System.out.println("Trip boooking code = " +
- bookings.newBooking("FS1APR4", 1));
-
- Checkout checkout = ((SCAClient)node).getService(Checkout.class,
- "ShoppingCart/Checkout");
-
- checkout.makePayment(new BigDecimal("1995.00"), "1234567843218765 10/10");
- */
node.stop();