Package org.apache.tuscany.sca.node

Examples of org.apache.tuscany.sca.node.SCANode.start()


            SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/bespoketrip");
        nodeBespoketrip.start();

        SCANode nodeFrontend =
            SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/coordination");
        nodeFrontend.start();

        SCANode nodeUI = SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/ui");
        nodeUI.start();

        System.out.println("Point your browser at - http://localhost:8080/scatours/ ");
View Full Code Here


    public static void main(String[] args) throws Exception {
        SCANode node = SCANodeFactory.newInstance().createSCANode(null,
                                                              locate("payment-spring-scatag"),
                                                              locate("creditcard-payment-jaxb"));
        node.start();
       
        SCAClient client = (SCAClient)node;
        Payment payment = client.getService(Payment.class, "Payment/Payment");

        System.out.println("Payment Spring SCATag test");
View Full Code Here

        SCANode nodeFrontend =
            SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/coordination");
        nodeFrontend.start();

        SCANode nodeUI = SCANodeFactory.newInstance().createSCANodeFromURL("http://localhost:9990/node-config/ui");
        nodeUI.start();

        System.out.println("Point your browser at - http://localhost:8080/scatours/ ");
        System.out.println("Nodes started - Press enter to shutdown.");

        try {
View Full Code Here

    public static void main(String[] args) throws Exception {
        SCANode node = SCANodeFactory.newInstance().createSCANode(null,
                                                              locate("payment-python"),
                                                              locate("emailgateway"));
        node.start();
       
        SCAClient client = (SCAClient)node;
        Payment payment = client.getService(Payment.class, "Payment");

        System.out.println("Payment Python test");
View Full Code Here

    public static void main(String[] args) throws Exception {
        SCANode node = SCANodeFactory.newInstance().createSCANode(null,
                                                              locate("payment-spring"),
                                                              locate("creditcard-payment-jaxb"));
        node.start();
       
        SCAClient client = (SCAClient)node;
        Payment payment = client.getService(Payment.class, "Payment/Payment");

        System.out.println("Payment Spring test");
View Full Code Here

public class PaymentLauncher {

    public static void main(String[] args) throws Exception {
        SCANode node = SCANodeFactory.newInstance().createSCANode(null,
                                                              locate("payment-java-reference-pass"));
        node.start();
       
        SCAClient client = (SCAClient)node;
        Payment payment = client.getService(Payment.class, "Payment");

        System.out.println("===================================================");
View Full Code Here

    private static void runAirportCodes() throws Exception {
        SCANode node =
            SCANodeFactory.newInstance().createSCANode("test-clients/airportcodes-client.composite",
                                                       locate("usingsca"));

        node.start();

        Runnable client = ((SCAClient)node).getService(Runnable.class, "AirportCodesClient");
        client.run();

        node.stop();
View Full Code Here

        SCANode node =
            SCANodeFactory.newInstance().createSCANode("notification-ejb.composite",
                                                       notificationContribution,
                                                       notificationEJBContribution);
        node.start();

        System.out.println("Quick notification test");
        Notification notification = ((SCAClient)node).getService(Notification.class, "Notification");
        String accountID = "1234";
        String subject = "Holiday payment taken";
View Full Code Here

    public static void main(String[] args) throws Exception {
        SCANode node = SCANodeFactory.newInstance().createSCANode(null,
                                                              locate("payment-groovy"),
                                                              locate("emailgateway"));
        node.start();
       
        SCAClient client = (SCAClient)node;
        Payment payment = client.getService(Payment.class, "Payment");

        System.out.println("Payment Groovy test");
View Full Code Here

    private static void runBindings() throws Exception {
        SCANode node =
            SCANodeFactory.newInstance().createSCANode("test-clients/bookings4-client.composite",
                                                       locate("usingsca"));

        node.start();

        Runnable client = ((SCAClient)node).getService(Runnable.class, "Bookings4Client");
        client.run();

        node.stop();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.