Package helloworld.sdo.client

Examples of helloworld.sdo.client.HelloWorldClient


    }
   

    public void testJavaToOSGi() throws Exception {

        HelloWorldClient helloWorldClient = scaDomain.getService(HelloWorldClient.class, "JavaHelloWorldClientComponent");
        String greetings = helloWorldClient.getGreetings("Apache", "Tuscany");
        System.out.println(greetings);
        assertEquals("Hello Apache Tuscany", greetings);
    }
View Full Code Here


        assertEquals("Hello Apache Tuscany", greetings);
    }
   
    public void testOSGiToJava() throws Exception {

        HelloWorldClient helloWorldClient = scaDomain.getService(HelloWorldClient.class, "OSGiHelloWorldClientComponent");
        String greetings = helloWorldClient.getGreetings("Apache", "Tuscany");
        System.out.println(greetings);
        assertEquals("Hello Apache Tuscany", greetings);
    }
View Full Code Here

TOP

Related Classes of helloworld.sdo.client.HelloWorldClient

Copyright © 2018 www.massapicom. 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.