public static class ReflectionSupport.NonDeferringClassLoader extends URLClassLoader
Constructor and Description |
---|
NonDeferringClassLoader()
Default constructor.
|
NonDeferringClassLoader(ClassLoader parent)
Construct a new class loader.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
loadClass(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public NonDeferringClassLoader()
public NonDeferringClassLoader(ClassLoader parent)
parent
- The parent class loader to delegate to.public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException