Package org.apache.tuscany.sca.scope

Examples of org.apache.tuscany.sca.scope.ScopeRegistry


                                                                              contributionFactory, xmlFactory);
        return contributionService;
    }

    public static ScopeRegistry createScopeRegistry(ExtensionPointRegistry registry) {
        ScopeRegistry scopeRegistry = new ScopeRegistryImpl();
        ScopeContainerFactory[] factories = new ScopeContainerFactory[] {new CompositeScopeContainerFactory(),
                                                                         new StatelessScopeContainerFactory(),
                                                                         new RequestScopeContainerFactory(),
        // new ConversationalScopeContainer(monitor),
        // new HttpSessionScopeContainer(monitor)
        };
        for (ScopeContainerFactory f : factories) {
            scopeRegistry.register(f);
        }

        registry.addExtensionPoint(scopeRegistry);

        return scopeRegistry;
View Full Code Here


                                                                              contributionFactory, xmlFactory);
        return contributionService;
    }

    public static ScopeRegistry createScopeRegistry(ExtensionPointRegistry registry) {
        ScopeRegistry scopeRegistry = new ScopeRegistryImpl();
        ScopeContainerFactory[] factories = new ScopeContainerFactory[] {new CompositeScopeContainerFactory(),
                                                                         new StatelessScopeContainerFactory(),
                                                                         new RequestScopeContainerFactory(),
        // new ConversationalScopeContainer(monitor),
        // new HttpSessionScopeContainer(monitor)
        };
        for (ScopeContainerFactory f : factories) {
            scopeRegistry.register(f);
        }

        registry.addExtensionPoint(scopeRegistry);

        return scopeRegistry;
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.scope.ScopeRegistry

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.