Package org.apache.openjpa.util.asm
Class EnhancementClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.openjpa.util.asm.EnhancementClassLoader
A special ClassLoader to handle classes currently under bytecode enhancement.
Inspired by the Serp BCClassLoader, but for ASM based enhancement.
- Author:
- Mark Struberg
-
Constructor Summary
ConstructorDescriptionEnhancementClassLoader
(EnhancementProject project) EnhancementClassLoader
(EnhancementProject project, ClassLoader parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClassNodeTracker
createClass
(String name) Override this method if unfound classes should be created on-the-fly.protected Class
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, 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, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
EnhancementClassLoader
-
EnhancementClassLoader
-
-
Method Details
-
getProject
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
createClass
Override this method if unfound classes should be created on-the-fly. Returns null by default.
-