public class ClassLoaderForClassArtifacts extends ClassLoader
Modifier and Type | Field and Description |
---|---|
SoftReference<Class> |
klazz |
Constructor and Description |
---|
ClassLoaderForClassArtifacts(Class klazz) |
Modifier and Type | Method and Description |
---|---|
String |
createClassName(Method method) |
Class |
define(String name,
byte[] bytes) |
Constructor |
defineClassAndGetConstructor(String name,
byte[] bytes) |
Class |
loadClass(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public final SoftReference<Class> klazz
public ClassLoaderForClassArtifacts(Class klazz)
public Class loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Constructor defineClassAndGetConstructor(String name, byte[] bytes)