diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-23 16:42:58 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-23 16:42:58 +0000 |
commit | 393e9ef21b45ac96ce70ca0c1f0f397528d81c79 (patch) | |
tree | db0348daf8320106868825190f34411c4df88ff5 /sandbox/travelsample/launchers/introducing-launcher | |
parent | 057fd77c4848a5efaec8eca7e969011d2e4a00b3 (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')
-rw-r--r-- | sandbox/travelsample/launchers/introducing-launcher/build.xml | 2 | ||||
-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 |
2 files changed, 3 insertions, 15 deletions
diff --git a/sandbox/travelsample/launchers/introducing-launcher/build.xml b/sandbox/travelsample/launchers/introducing-launcher/build.xml index 8a935954a0..81085eba97 100644 --- a/sandbox/travelsample/launchers/introducing-launcher/build.xml +++ b/sandbox/travelsample/launchers/introducing-launcher/build.xml @@ -31,7 +31,7 @@ </target>
<target name="run">
- <java classname="scatours.LaunchIntroducingNode" fork="true">
+ <java classname="scatours.IntroducingLauncher" fork="true">
<classpath>
<pathelement location="target/classes"/>
<pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
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();
|