Package org.apache.cxf.aegis.inheritance.ws2.impl

Examples of org.apache.cxf.aegis.inheritance.ws2.impl.WS2Impl


public class WS2Impl implements WS2 {
    private Map<String, ParentBean> map = new HashMap<String, ParentBean>();

    public WS2Impl() {
        ParentBean x = new ParentBean("X", new ContentBean1("data1-X"));
        ParentBean y = new ParentBean("Y", new ContentBean2("data1-Y", "content2-Y"));
        map.put(x.getId(), x);
        map.put(y.getId(), y);
    }
View Full Code Here


public class WS2Impl implements WS2 {
    private Map<String, ParentBean> map = new HashMap<String, ParentBean>();

    public WS2Impl() {
        ParentBean x = new ParentBean("X", new ContentBean1("data1-X"));
        ParentBean y = new ParentBean("Y", new ContentBean2("data1-Y", "content2-Y"));
        map.put(x.getId(), x);
        map.put(y.getId(), y);
    }
View Full Code Here

        XFireHelper xFireHelper = new XFireHelper();

        m_localWS1 = new WS1Impl();
        m_remoteWS1 = (WS1) xFireHelper.createClientProxy(xFireHelper.createServiceWS1(), url);

        m_localWS2 = new WS2Impl();
        m_remoteWS2 = (WS2) xFireHelper.createClientProxy(xFireHelper.createServiceWS2(), url);

        startServer();
    }
View Full Code Here

        throws Exception
    {
        // Create WS
        m_helper = new XFireHelper(getXFire());
        m_helper.registerService(m_helper.createServiceWS1(), new WS1Impl());
        m_helper.registerService(m_helper.createServiceWS2(), new WS2Impl());

        // Start Jetty server
        xFireHttpServer = new XFireHttpServer(m_helper.getXfire());
        xFireHttpServer.setPort(9035);
        xFireHttpServer.start();
View Full Code Here

        throws Exception
    {
        // Create WS
        XFireHelper xFireHelper = new XFireHelper();
        xFireHelper.registerService(xFireHelper.createServiceWS1(), new WS1Impl());
        xFireHelper.registerService(xFireHelper.createServiceWS2(), new WS2Impl());

        // Start Jetty server
        XFireHttpServer xFireHttpServer = new XFireHttpServer(xFireHelper.getXfire());
        xFireHttpServer.setPort(8080);
        xFireHttpServer.start();
View Full Code Here

TOP

Related Classes of org.apache.cxf.aegis.inheritance.ws2.impl.WS2Impl

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.