Package org.milyn.classpath

Examples of org.milyn.classpath.CascadingClassLoaderSet


     * @throws UnknownProfileMemberException Unknown target profile.
     */
    public ExecutionContext createExecutionContext(String targetProfile) throws UnknownProfileMemberException {
        if(classLoader != null) {
            ClassLoader originalTCCL = Thread.currentThread().getContextClassLoader();
            CascadingClassLoaderSet newTCCL = new CascadingClassLoaderSet();

            newTCCL.addClassLoader(classLoader);
            newTCCL.addClassLoader(originalTCCL);

            Thread.currentThread().setContextClassLoader(newTCCL);
            try {
                if(isConfigurable) {
                    initializeResourceConfigurations();
View Full Code Here


        }
    }

    public void smooksFilterSource(String smooksConfig, Source source, Result... results) {
        ClassLoader origTCCL = Thread.currentThread().getContextClassLoader();
        CascadingClassLoaderSet filteringClassLoader = new CascadingClassLoaderSet();

        filteringClassLoader.addClassLoader(bindingModelClassLoader);
        filteringClassLoader.addClassLoader(origTCCL);

        Thread.currentThread().setContextClassLoader(filteringClassLoader);

        try {
            Smooks smooks = new Smooks(smooksConfig);
View Full Code Here

TOP

Related Classes of org.milyn.classpath.CascadingClassLoaderSet

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.