Package org.apache.geronimo.kernel.repository

Examples of org.apache.geronimo.kernel.repository.ClassLoadingRules


                parentClassLoaders[iterator.previousIndex()] = configuration.childrenConfigurationClassLoader;
            }
        }

        // we need to propagate the non-overrideable classes from parents
        ClassLoadingRules classLoadingRules = environment.getClassLoadingRules();
        ClassLoadingRule nonOverrideableRule = classLoadingRules.getNonOverrideableRule();
        for (Configuration parent : classParents) {
            Environment parentEnvironment = parent.getEnvironment();
            ClassLoadingRules parentClassLoadingRules = parentEnvironment.getClassLoadingRules();
            ClassLoadingRule parentNonOverrideableRule = parentClassLoadingRules.getNonOverrideableRule();
            nonOverrideableRule.merge(parentNonOverrideableRule);
        }

        if (log.isDebugEnabled()) {
            StringBuffer buf = new StringBuffer("ClassLoader structure for configuration ").append(id).append("\n");
View Full Code Here

TOP

Related Classes of org.apache.geronimo.kernel.repository.ClassLoadingRules

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.