Package org.apache.cxf.dosgi.systests2.common

Examples of org.apache.cxf.dosgi.systests2.common.AbstractTestExportService


public class ServerActivator implements BundleActivator {   
    private ServiceRegistration reg;

    public void start(BundleContext bc) throws Exception {
        Test2Service svc = new Test2ServiceImpl();
               
        // Dynamically assign a free port
        int freePort = new ServerSocket(0).getLocalPort();
        String url = "http://localhost:" + freePort + "/test2";
        System.out.println("*** Server using URL: " + url);
View Full Code Here

TOP

Related Classes of org.apache.cxf.dosgi.systests2.common.AbstractTestExportService

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.