public class FineGrainedControlClassLoader extends GoodCitizenClassLoader
GoodCitizenClassLoader.NonCachingURLStreamHandlerFactory
Modifier and Type | Field and Description |
---|---|
protected String |
appName |
protected Set<String> |
blocked |
protected Set<String> |
overrides |
protected String[] |
systemPackages |
Constructor and Description |
---|
FineGrainedControlClassLoader(URL[] urls,
ClassLoader parent) |
FineGrainedControlClassLoader(URL[] urls,
ClassLoader parent,
Set<String> overrides) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String name) |
protected Class<?> |
findParentClass(String name) |
boolean |
isBlocked(String name) |
boolean |
isOverridden(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve) |
protected void |
processOverrides(Set<String> overrides) |
dispose
addURL, close, definePackage, 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 FineGrainedControlClassLoader(URL[] urls, ClassLoader parent)
public FineGrainedControlClassLoader(URL[] urls, ClassLoader parent, Set<String> overrides)
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
public boolean isOverridden(String name)
public boolean isBlocked(String name)
protected Class<?> findParentClass(String name) throws ClassNotFoundException
ClassNotFoundException
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class URLClassLoader
ClassNotFoundException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.