public BaseWrapperServletContext(ServletContext realContext, String applicationId, String moduleName, WebAttributeQualifier webAttributeQualifier, ClassLoader moduleClassLoader) {
super(realContext);
if (moduleClassLoader instanceof BaseURLClassLoader) {
//use NonDelegatingResourceClassLoader in order that it only looks in locations of the moduleClassLoader, but not it's parents
this.moduleClassLoader = new NonDelegatingResourceClassLoader((BaseURLClassLoader) moduleClassLoader);
} else {
this.moduleClassLoader = moduleClassLoader;
}
this.webAttributeQualifier = webAttributeQualifier;
this.moduleName = moduleName;