public class IsolatedClassLoader extends URLClassLoader
addURL(URL)
.Constructor and Description |
---|
IsolatedClassLoader(ClassLoader parent,
boolean childDelegation,
String roleName) |
Modifier and Type | Method and Description |
---|---|
void |
addURL(URL url)
|
Class |
loadClass(String name) |
String |
toString() |
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, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public IsolatedClassLoader(ClassLoader parent, boolean childDelegation, String roleName)
@Deprecated public void addURL(URL url)
addURL
in class URLClassLoader
public Class loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.