private ResourceLoader getResourceLoader() {
return DefaultResourceLoader.INSTANCE;
}
private ResourceLoader getResourceLoaderHidingJsf20Classes() {
return new DefaultResourceLoader() {
@Override
public Class<?> classForName(String name) {
if ("javax.faces.component.behavior.Behavior".equals(name)) {
throw new ResourceLoadingException("Hidden class");