Class JarLoader

All Implemented Interfaces:
Closeable, AutoCloseable

public final class JarLoader extends URLClassLoader
Custom class loader for loading jar files. This class is needed because JDK does not offer a fine and easy way to delete open jars: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5041014
Author:
BaseX Team 2005-21, BSD License, Christian Gruen, Rositsa Shadura
  • Constructor Details

    • JarLoader

      public JarLoader(URL[] urls, ClassLoader parent)
      Constructor.
      Parameters:
      urls - of jars to be loaded
      parent - the parent class loader for delegation
  • Method Details