public class URLClassLoaderFirst
extends java.net.URLClassLoader
Modifier and Type | Field and Description |
---|---|
static java.util.Collection<java.lang.String> |
FILTERABLE_RESOURCES |
static java.util.Collection<java.lang.String> |
FORCED_LOAD |
static java.util.Collection<java.lang.String> |
FORCED_SKIP |
static java.lang.String |
SLF4J_BINDER_CLASS |
static java.lang.ClassLoader |
SYSTEM_CLASS_LOADER |
Constructor and Description |
---|
URLClassLoaderFirst(java.net.URL[] urls,
java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeLoadedFromSystem(java.lang.String name) |
static java.util.Enumeration<java.net.URL> |
filterResources(java.lang.String name,
java.util.Enumeration<java.net.URL> result) |
java.lang.Class<?> |
findAlreadyLoadedClass(java.lang.String name) |
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name) |
static boolean |
isFilterableResource(java.lang.String name) |
java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve) |
java.lang.Class<?> |
loadInternal(java.lang.String name,
boolean resolve) |
static void |
reloadConfig() |
static boolean |
shouldDelegateToTheContainer(java.lang.ClassLoader loader,
java.lang.String name) |
static boolean |
shouldSkip(java.lang.String input) |
static boolean |
shouldSkipJsf(java.lang.ClassLoader loader,
java.lang.String name) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static final java.util.Collection<java.lang.String> FORCED_SKIP
public static final java.util.Collection<java.lang.String> FORCED_LOAD
public static final java.util.Collection<java.lang.String> FILTERABLE_RESOURCES
public static final java.lang.String SLF4J_BINDER_CLASS
public static final java.lang.ClassLoader SYSTEM_CLASS_LOADER
public URLClassLoaderFirst(java.net.URL[] urls, java.lang.ClassLoader parent)
public static void reloadConfig()
public java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public static boolean shouldDelegateToTheContainer(java.lang.ClassLoader loader, java.lang.String name)
public java.lang.Class<?> findAlreadyLoadedClass(java.lang.String name)
public java.lang.Class<?> loadInternal(java.lang.String name, boolean resolve)
public static boolean canBeLoadedFromSystem(java.lang.String name)
public static boolean shouldSkip(java.lang.String input)
public static boolean shouldSkipJsf(java.lang.ClassLoader loader, java.lang.String name)
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
getResources
in class java.lang.ClassLoader
java.io.IOException
public static boolean isFilterableResource(java.lang.String name)
public static java.util.Enumeration<java.net.URL> filterResources(java.lang.String name, java.util.Enumeration<java.net.URL> result)