diff options
Diffstat (limited to 'sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java')
-rw-r--r-- | sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java b/sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java index 5760fe0d72..7e5d7225e5 100644 --- a/sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java +++ b/sca-java-2.x/trunk/tutorials/travelsample/launchers/payment-spring-scatag/src/main/java/scatours/payment/PaymentLauncher.java @@ -21,21 +21,21 @@ package scatours.payment; import static scatours.launcher.LauncherUtil.locate; -import org.apache.tuscany.sca.node.SCAClient; -import org.apache.tuscany.sca.node.SCANode; -import org.apache.tuscany.sca.node.SCANodeFactory; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.Node; +import org.apache.tuscany.sca.node.NodeFactory; import com.tuscanyscatours.payment.Payment; public class PaymentLauncher { public static void main(String[] args) throws Exception { - SCANode node = SCANodeFactory.newInstance().createSCANode(null, + Node node = NodeFactory.getInstance().createNode( locate("payment-spring-scatag"), locate("creditcard-payment-jaxb")); node.start(); - SCAClient client = (SCAClient)node; + Node client = (Node)node; Payment payment = client.getService(Payment.class, "Payment/Payment"); System.out.println("Payment Spring SCATag test"); |