public class AgentClassLoader extends ClassLoader
AgentClassLoader represents a classloader,
which is in charge of finding plugins and interceptors.| Constructor and Description |
|---|
AgentClassLoader(ClassLoader parent) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
findClass(String name) |
protected URL |
findResource(String name) |
protected Enumeration<URL> |
findResources(String name) |
static AgentClassLoader |
getDefault() |
static void |
initDefaultLoader()
Init the default
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic AgentClassLoader(ClassLoader parent) throws AgentPackageNotFoundException
AgentPackageNotFoundExceptionpublic static AgentClassLoader getDefault()
public static void initDefaultLoader()
throws AgentPackageNotFoundException
AgentPackageNotFoundExceptionprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionprotected URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.