diff options
Diffstat (limited to 'sandbox')
-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();
|