Package org.apache.tuscany.core.component.scope

Examples of org.apache.tuscany.core.component.scope.ScopeRegistryImpl


    protected void setUp() throws Exception {
        super.setUp();
        deploymentContext = new RootDeploymentContext(null, null, null, null);
        parent = EasyMock.createNiceMock(CompositeComponent.class);
        registry = new ScopeRegistryImpl(new WorkContextImpl());
        new StatelessScopeObjectFactory(registry);
    }
View Full Code Here


     *
     * @param workContext the WorkContext the scopes should use
     * @return a new ScopeRegistry
     */
    public ScopeRegistry createScopeRegistry(WorkContext workContext) {
        ScopeRegistry scopeRegistry = new ScopeRegistryImpl(workContext);
        new ModuleScopeObjectFactory(scopeRegistry); // self-registers
        return scopeRegistry;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.component.scope.ScopeRegistryImpl

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.