public abstract class JarIsolatedClassLoader extends URLClassLoader
URLClassLoader
, JarIsolatedClassLoader
takes into account the
"Class-Path" defined in the MANIFEST.MF file of JAR files.Modifier | Constructor and Description |
---|---|
protected |
JarIsolatedClassLoader() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCurrentJar()
Add the current JAR file to the class path of this class loader.
|
protected void |
addJarRecursively(String path)
Add the JAR file at the specified path within the current JAR to the class path of this class
loader.
|
Enumeration<URL> |
getResources(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
protected void addCurrentJar()
URLClassLoader
uses parent-first delegation.)protected void addJarRecursively(String path)
path
and then added to the class
path with addJarRecursively(java.lang.String)
.protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.