Package org.apache.tuscany.core.wire.mock

Examples of org.apache.tuscany.core.wire.mock.SimpleTarget


                .getContextClassLoader(), new MessageFactoryImpl());
        JDKSourceWireFactory factory = new JDKSourceWireFactory();
        factory.setConfiguration(config);
        factory.setBusinessInterface(SimpleTarget.class);
        factory.initialize();
        SimpleTarget instance = (SimpleTarget) factory.createProxy();
        Assert.assertEquals("foo",instance.hello("foo"));
    }
View Full Code Here


                .getContextClassLoader(), new MessageFactoryImpl());
        JDKTargetWireFactory factory = new JDKTargetWireFactory();
        factory.setConfiguration(config);
        factory.setBusinessInterface(SimpleTarget.class);
        factory.initialize();
        SimpleTarget instance = (SimpleTarget) factory.createProxy();
        Assert.assertEquals("foo",instance.hello("foo"));
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.wire.mock.SimpleTarget

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.