public class DynamicClassLoader extends URLClassLoader
Constructor and Description |
---|
DynamicClassLoader(URL[] urls) |
DynamicClassLoader(URL[] urls,
ClassLoader parent) |
DynamicClassLoader(URL[] urls,
ClassLoader parent,
URLStreamHandlerFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(URL url) |
static void |
updateLoader(URL[] urls) |
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 DynamicClassLoader(URL[] urls)
public DynamicClassLoader(URL[] urls, ClassLoader parent)
public DynamicClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)
public void addURL(URL url)
addURL
in class URLClassLoader
public static void updateLoader(URL[] urls)
urls
- - list of URLs to add to the thread's classloaderCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.