Package org.apache.tuscany.core.deployer

Examples of org.apache.tuscany.core.deployer.ChildDeploymentContext


        URL scdlLocation = implementation.getScdlLocation();
        if (scdlLocation == null) {
            throw new LoaderException("SCDL location not found");
        }
        ClassLoader cl = implementation.getClassLoader();
        deploymentContext = new ChildDeploymentContext(deploymentContext, cl, scdlLocation);
        CompositeComponentType componentType = loadFromSidefile(parent, scdlLocation, deploymentContext);
        implementation.setComponentType(componentType);
    }
View Full Code Here


    public void load(CompositeComponent parent, CompositeImplementation implementation,
                     DeploymentContext deploymentContext)
        throws LoaderException {
        URL scdlLocation = implementation.getScdlLocation();
        ClassLoader cl = new CompositeClassLoader(implementation.getClassLoader());
        deploymentContext = new ChildDeploymentContext(deploymentContext, cl, scdlLocation);
        CompositeComponentType componentType = loadFromSidefile(parent, scdlLocation, deploymentContext);
        implementation.setComponentType(componentType);
    }
View Full Code Here

            MissingIncludeException mie = new MissingIncludeException();
            mie.setIdentifier(name);
            throw mie;
        }

        DeploymentContext childContext = new ChildDeploymentContext(deploymentContext, cl, url);
        CompositeComponentType composite = loadFromSidefile(parent, url, childContext);

        Include include = new Include();
        include.setName(name);
        include.setScdlLocation(url);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.deployer.ChildDeploymentContext

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.