public static class Reflection.DynamicClassOverloader extends java.lang.ClassLoader implements Reflection.WithClassPath
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
ALWAYS_IGNORED_PREFIXES |
Constructor and Description |
---|
Reflection.DynamicClassOverloader(java.util.Set classPath,
java.util.Set ignored,
java.lang.Object loaderId,
java.lang.ClassLoader parentClassLoader,
boolean overloadClassesFoundByParent) |
Modifier and Type | Method and Description |
---|---|
java.util.Set |
classPath()
Returns CLASSPATH as a set (should contain String elements only)
|
protected java.lang.Class |
findClass(java.lang.String name) |
protected java.net.URL |
findResource(java.lang.String name) |
java.net.URL |
getResource(java.lang.String name) |
java.util.Set |
ignored() |
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve) |
protected boolean |
shouldNotBeOverloaded(java.lang.Class clazz) |
protected boolean |
shouldNotBeOverloaded(java.lang.String name) |
java.lang.String |
toString() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
protected static final java.lang.String[] ALWAYS_IGNORED_PREFIXES
public Reflection.DynamicClassOverloader(java.util.Set classPath, java.util.Set ignored, java.lang.Object loaderId, java.lang.ClassLoader parentClassLoader, boolean overloadClassesFoundByParent)
public final java.util.Set classPath()
Reflection.WithClassPath
classPath
in interface Reflection.WithClassPath
public final java.util.Set ignored()
protected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.net.URL getResource(java.lang.String name)
getResource
in class java.lang.ClassLoader
protected java.net.URL findResource(java.lang.String name)
findResource
in class java.lang.ClassLoader
protected boolean shouldNotBeOverloaded(java.lang.String name)
protected boolean shouldNotBeOverloaded(java.lang.Class clazz)
public java.lang.String toString()
toString
in class java.lang.Object