Package org.apache.tuscany.container.spring.impl

Examples of org.apache.tuscany.container.spring.impl.SpringCompositeComponent


public class BootstrapTestCase extends Bootstrapper {

    private CompositeContext context;

    public void testDemoBoot() {
        SpringCompositeComponent comp = (SpringCompositeComponent) component.getChild("Spring");
        Service service = (Service) comp.getChild("fooService");
        TestBean bean = (TestBean) service.getServiceInstance();
        bean.echo("foo");
        bean.getBean().echo("foo");
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.container.spring.impl.SpringCompositeComponent

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.