Examples of SCAClientFactory


Examples of org.oasisopen.sca.client.SCAClientFactory

        }
       
        System.out.println("using domain uri: " + domainURI);
        System.out.println("using name: " + name);

        SCAClientFactory factory = SCAClientFactory.newInstance(URI.create(domainURI));
        CalculatorService calculator = factory.getService(CalculatorService.class, "CalculatorServiceComponent");
       
        System.out.println("Calling CalculatorService.add(2, 3)");
        System.out.println(calculator.add(3, 2));
    }
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.