Package org.apache.uima.test
Class IsolatingClassloader
java.lang.Object
java.lang.ClassLoader
org.apache.uima.test.IsolatingClassloader
Special ClassLoader that helps us modeling different class loader topologies.
-
Constructor Summary
ConstructorDescriptionIsolatingClassloader
(String name, ClassLoader parent) IsolatingClassloader
(String name, org.slf4j.Logger aLog, ClassLoader parent) -
Method Summary
Modifier and TypeMethodDescriptiondelegating
(String pattern, ClassLoader delegate) protected Class
<?> redefining
(Class<?>... classes) redefining
(Package... packages) redefining
(String... patterns) toString()
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
IsolatingClassloader
-
IsolatingClassloader
-
-
Method Details
-
hiding
-
hiding
-
hiding
-
redefining
-
redefining
-
redefining
-
delegating
-
toString
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-