Class ChildFirstURLClassLoader

java.lang.Object
java.lang.ClassLoader
de.iip_ecosphere.platform.support.plugins.ChildFirstClassLoader
de.iip_ecosphere.platform.support.plugins.ChildFirstURLClassLoader
All Implemented Interfaces:
IdentifyingClassloader

public class ChildFirstURLClassLoader extends ChildFirstClassLoader
A delegating child-first classloader.
Author:
Stackoverflow, Holger Eichelberger, SSE
  • Constructor Details

    • ChildFirstURLClassLoader

      public ChildFirstURLClassLoader(URL[] urls)
      Creates a child-first classloader using the context class loader of the current thread as parent.
      Parameters:
      urls - the URLs to load classes from
    • ChildFirstURLClassLoader

      public ChildFirstURLClassLoader(URL[] urls, ClassLoader parent)
      Creates a child-first classloader.
      Parameters:
      urls - the URLs to load classes from
      parent - the parent class loader