Search in sources :

Example 1 with JavaSettingsImpl

use of lucee.runtime.listener.JavaSettingsImpl in project Lucee by lucee.

the class PageContextImpl method getRPCClassLoader.

public ClassLoader getRPCClassLoader(boolean reload, ClassLoader[] parents) throws IOException {
    JavaSettingsImpl js = (JavaSettingsImpl) applicationContext.getJavaSettings();
    ClassLoader cl = config.getRPCClassLoader(reload, parents);
    if (js != null) {
        return ((PhysicalClassLoader) cl).getCustomClassLoader(js.getResourcesTranslated(), reload);
    }
    return cl;
}
Also used : PhysicalClassLoader(lucee.commons.lang.PhysicalClassLoader) JavaSettingsImpl(lucee.runtime.listener.JavaSettingsImpl) ResourceClassLoader(lucee.commons.io.res.util.ResourceClassLoader) PhysicalClassLoader(lucee.commons.lang.PhysicalClassLoader)

Aggregations

ResourceClassLoader (lucee.commons.io.res.util.ResourceClassLoader)1 PhysicalClassLoader (lucee.commons.lang.PhysicalClassLoader)1 JavaSettingsImpl (lucee.runtime.listener.JavaSettingsImpl)1