public class WeavingClassLoader extends URLClassLoader
| Modifier and Type | Field and Description |
|---|---|
static String |
GLUE_NAME_KEY |
static String |
ROOT_LOADER_KEY |
| Constructor and Description |
|---|
WeavingClassLoader(URL[] urls,
ClassLoader parent) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
findClass(String name) |
protected boolean |
isNonTransformable(String className)
Determines if a class can be transformed based on the name.
|
protected boolean |
isRootLoader() |
protected Class<?> |
loadClass(String name,
boolean resolve) |
addURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic static final String ROOT_LOADER_KEY
public static final String GLUE_NAME_KEY
public WeavingClassLoader(URL[] urls, ClassLoader parent)
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionprotected boolean isNonTransformable(String className)
className - protected boolean isRootLoader()
Copyright © 2002 – 2020 Project Wonder.