Package org.apache.tuscany.sca.itest.allowspassbyreference

Examples of org.apache.tuscany.sca.itest.allowspassbyreference.AServiceClient


    public void testClientB2() {
        test("ClientB2Component");
    }

    private void test(String serviceName) {
        AServiceClient client = node.getService(AServiceClient.class, serviceName);
        int id = client.create("A");
        String state = client.read(id);
        Assert.assertEquals("A", state);
        state = client.update(id, "B");
        Assert.assertEquals("B", state);
        client.delete(id);
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.itest.allowspassbyreference.AServiceClient

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.