Package org.apache.tuscany.container.spring.config

Examples of org.apache.tuscany.container.spring.config.ScaApplicationContext


        // REVIEW andyp -- pass in deploymentContext.getClassLoader()?
        AbstractRefreshableApplicationContext ctx;
        if (runtimeInfo instanceof SpringRuntimeInfo) {
            ctx = ((SpringRuntimeInfo) runtimeInfo).getApplicationContext();
        } else {
            ctx = new ScaApplicationContext(resource, componentType);
        }
        componentType.setApplicationContext(ctx); // FIXME andyp@bea.com -- don't do this!

        // If there are <sca:service> elements, they define (and limit) the services exposed
        // in the componentType.
View Full Code Here


    private ConfigurableApplicationContext applicationContext;

    public void setUp() {
        applicationContext =
            new ScaApplicationContext(null,
                new ClassPathResource("org/apache/tuscany/container/spring/SpringConfigSchemaTest.xml"), null);
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.container.spring.config.ScaApplicationContext

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.