Package org.apache.tuscany.spi.component

Examples of org.apache.tuscany.spi.component.ScopeNotFoundException


        assert Scope.MODULE != scope : "Cannot get MODULE scope from the registry";
        ScopeContainer container = scopeCache.get(scope);
        if (container == null) {
            ObjectFactory<? extends ScopeContainer> factory = factoryCache.get(scope);
            if (factory == null) {
                ScopeNotFoundException e = new ScopeNotFoundException("Scope object factory not registered for scope");
                e.setIdentifier(scope.getScope());
               
                throw e;
            }
            container = factory.getInstance();
            container.setWorkContext(workContext);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.spi.component.ScopeNotFoundException

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.