Class AgentClassLoader.BootstrapClassLoaderProxy
- java.lang.Object
-
- java.lang.ClassLoader
-
- io.opentelemetry.javaagent.bootstrap.AgentClassLoader.BootstrapClassLoaderProxy
-
- Enclosing class:
- AgentClassLoader
public static final class AgentClassLoader.BootstrapClassLoaderProxy extends ClassLoader
A stand-in for the bootstrap classloader. Used to look up bootstrap resources and resources appended by instrumentation.This class is thread safe.
-
-
Constructor Summary
Constructors Constructor Description BootstrapClassLoaderProxy(AgentClassLoader agentClassLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>findClass(String name)URLgetResource(String resourceName)-
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, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Constructor Detail
-
BootstrapClassLoaderProxy
public BootstrapClassLoaderProxy(AgentClassLoader agentClassLoader)
-
-
Method Detail
-
getResource
public URL getResource(String resourceName)
- Overrides:
getResourcein classClassLoader
-
findClass
protected Class<?> findClass(String name) throws ClassNotFoundException
- Overrides:
findClassin classClassLoader- Throws:
ClassNotFoundException
-
-