public class ClassLoaderWithRegistry extends ClassLoader
| Constructor and Description |
|---|
ClassLoaderWithRegistry() |
ClassLoaderWithRegistry(ClassLoader _parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExcludedClassName(String _excludedClassName)
Add a class which should not be loaded with this classloader even if it is in 'includedPackages' List.
|
void |
addIncludedPackageNames(String _packageName)
Add a package name which should be loaded with this classloader.
|
static String |
getVersion() |
protected Class<?> |
loadClass(String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic ClassLoaderWithRegistry(ClassLoader _parent)
public ClassLoaderWithRegistry()
public void addIncludedPackageNames(String _packageName)
_packageName - name of the package, has to end with '.'public void addExcludedClassName(String _excludedClassName)
_excludedClassName - protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionpublic static String getVersion()
Copyright © 2018. All rights reserved.