Class URLClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
OSGILauncher.ChildFirstURLClassLoader

public class URLClassLoader extends URLClassLoader
A URL class loader with close API. Java's URL class loader locks the JAR file it loaded until the JVM exit. It may cause some problem when we need remove the JARs if the class loader are not used any more. BIRT's URL class loader add a new close() method to close the JAR files explicitly. Once the close() is called, the user can't use the class and the loaded classes any more.