diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-19 17:37:23 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-19 17:37:23 +0000 |
commit | 72d38f4f894cd31b85827d61ed447320835c318c (patch) | |
tree | da995a0b0ba1306225429dd0cc7c14543b35ff04 /sandbox/travelsample/node/src | |
parent | 693d0212794688f8f2ad93200bfcc31fcb0e22e3 (diff) |
Adjust some dependency versions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@697159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/node/src')
-rw-r--r-- | sandbox/travelsample/node/src/scatours/LaunchNode.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sandbox/travelsample/node/src/scatours/LaunchNode.java b/sandbox/travelsample/node/src/scatours/LaunchNode.java index ae73a2d021..65483a10c9 100644 --- a/sandbox/travelsample/node/src/scatours/LaunchNode.java +++ b/sandbox/travelsample/node/src/scatours/LaunchNode.java @@ -22,8 +22,8 @@ package scatours; import java.io.IOException; import org.apache.tuscany.sca.node.SCAContribution; -import org.apache.tuscany.sca.node.SCANode2; -import org.apache.tuscany.sca.node.SCANode2Factory; +import org.apache.tuscany.sca.node.SCANode; +import org.apache.tuscany.sca.node.SCANodeFactory; import org.apache.tuscany.sca.node.launcher.NodeLauncher; public class LaunchNode { @@ -33,10 +33,10 @@ public class LaunchNode { // OK for development but you must launch the node from this module public static void launchFromFileSystemJar(){ - SCANode2 node = null; + SCANode node = null; try { - node = SCANode2Factory.newInstance().createSCANode("scatours.composite", + node = SCANodeFactory.newInstance().createSCANode("scatours.composite", new SCAContribution("common", "../common-contribution/target/scatours-common-contribution.jar"), new SCAContribution("currency", "../currency-contribution/target/scatours-currency-contribution.jar"), new SCAContribution("hotel", "../hotel-contribution/target/scatours-hotel-contribution.jar"), @@ -62,10 +62,10 @@ public class LaunchNode { // OK for development but you must launch the node from this module public static void launchFromFileSystemDir(){ - SCANode2 node = null; + SCANode node = null; try { - node = SCANode2Factory.newInstance().createSCANode("scatours.composite", + node = SCANodeFactory.newInstance().createSCANode("scatours.composite", new SCAContribution("common", "../common-contribution/target/classes"), new SCAContribution("currency", "../currency-contribution/target/classes"), new SCAContribution("hotel", "../hotel-contribution/target/classes"), @@ -90,10 +90,10 @@ public class LaunchNode { // OK for samples but you can only load one contribution public static void launchFromClasspath(){ - SCANode2 node = null; + SCANode node = null; try { - node = SCANode2Factory.newInstance().createSCANodeFromClassLoader("scatours.composite", null); + node = SCANodeFactory.newInstance().createSCANodeFromClassLoader("scatours.composite", null); node.start(); System.out.println("Node started - Press enter to shutdown."); |