public class TransformingClassLoader
extends java.net.URLClassLoader
Transformer
on classes that are being loaded.Constructor | Description |
---|---|
TransformingClassLoader(java.net.URL[] urls,
java.lang.ClassLoader parent) |
Modifier and Type | Method | Description |
---|---|---|
void |
addURL(java.net.URL url) |
|
protected java.lang.Class<?> |
findClass(java.lang.String name) |
|
java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public TransformingClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
protected java.lang.Class<?> findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.net.URLClassLoader
java.lang.ClassNotFoundException
public java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public void addURL(java.net.URL url)
addURL
in class java.net.URLClassLoader