Package org.apache.openjpa.lib.util
Class TemporaryClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.openjpa.lib.util.TemporaryClassLoader
ClassLoader implementation that allows classes to be temporarily
loaded and then thrown away. Useful for the enhancer to be able
to run against a class without first loading(and thus polluting)
the parent ClassLoader.
- Author:
- Marc Prud'hommeaux
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
TemporaryClassLoader
-
-
Method Details
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-