@Internal public abstract class MutableURLClassLoader extends URLClassLoader
Constructor and Description |
---|
MutableURLClassLoader(URL[] urls,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(URL url) |
abstract MutableURLClassLoader |
copy()
Copy the classloader for each job and these jobs can add their jar files to the classloader
independently.
|
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, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public MutableURLClassLoader(URL[] urls, ClassLoader parent)
public void addURL(URL url)
addURL
in class URLClassLoader
public abstract MutableURLClassLoader copy()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.