Class IndyPluginClassLoaderFactory


  • public class IndyPluginClassLoaderFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clear()  
      static java.lang.ClassLoader getOrCreatePluginClassLoader​(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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndyPluginClassLoaderFactory

        public IndyPluginClassLoaderFactory()
    • 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.Exception
        Creates 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()