Package co.elastic.apm.agent.bci
Class IndyPluginClassLoaderFactory
- java.lang.Object
-
- co.elastic.apm.agent.bci.IndyPluginClassLoaderFactory
-
public class IndyPluginClassLoaderFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IndyPluginClassLoaderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()static java.lang.ClassLoadergetOrCreatePluginClassLoader(java.lang.ClassLoader targetClassLoader, java.util.List<java.lang.String> classesToInject, java.lang.ClassLoader agentClassLoader, net.bytebuddy.dynamic.ClassFileLocator classFileLocator, net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> exclusionMatcher)Creates an isolated CL that has two parents: the target class loader and the agent CL.
-
-
-
Method Detail
-
getOrCreatePluginClassLoader
public static java.lang.ClassLoader getOrCreatePluginClassLoader(@Nullable java.lang.ClassLoader targetClassLoader, java.util.List<java.lang.String> classesToInject, java.lang.ClassLoader agentClassLoader, net.bytebuddy.dynamic.ClassFileLocator classFileLocator, net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> exclusionMatcher) throws java.lang.ExceptionCreates an isolated CL that has two parents: the target class loader and the agent CL. The agent class loader is currently the bootstrap CL but in the future it will be an isolated CL that is a child of the bootstrap CL.- Throws:
java.lang.Exception
-
clear
public static void clear()
-
-