Package org.apache.uima.internal.util
Class MsgLocalizationClassLoader.CallClimbingClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.uima.internal.util.MsgLocalizationClassLoader.CallClimbingClassLoader
- Enclosing class:
MsgLocalizationClassLoader
One instance of this class made Must be thread-safe
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ThreadLocal
<ClassLoader> This value is set / cleared in a try / finally block, from the value of originalContextClassLoader in the two classes org.apache.uima.InternationalizedRuntimeException and org.apache.uima.InternationalizedException The purpose is to enable using the class loader from the context where the exception was created. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Field Details
-
original_thread_context_class_loader
This value is set / cleared in a try / finally block, from the value of originalContextClassLoader in the two classes org.apache.uima.InternationalizedRuntimeException and org.apache.uima.InternationalizedException The purpose is to enable using the class loader from the context where the exception was created.
-
-
Constructor Details
-
CallClimbingClassLoader
CallClimbingClassLoader()
-
-
Method Details
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findClass
Called after findLoadedClass has returned null Delegates loading in specific order- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
getResource
- Overrides:
getResource
in classClassLoader
-