public class SearchingClassLoader extends ClassLoader
Constructor | Description |
---|---|
SearchingClassLoader(ClassLoader parent,
ClassLoader nextToSearch) |
Modifier and Type | Method | Description |
---|---|---|
static ClassLoader |
combine(ClassLoader... parentLoaders) |
|
static ClassLoader |
combine(List<ClassLoader> parentLoaders) |
|
static ClassLoader |
combineLoadersOf(Class<?>... classes) |
|
static ClassLoader |
combineLoadersOf(Class<?> first,
Class<?>... others) |
|
protected Class<?> |
findClass(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public SearchingClassLoader(ClassLoader parent, ClassLoader nextToSearch)
public static ClassLoader combine(ClassLoader... parentLoaders)
public static ClassLoader combine(List<ClassLoader> parentLoaders)
public static ClassLoader combineLoadersOf(Class<?>... classes)
public static ClassLoader combineLoadersOf(Class<?> first, Class<?>... others)
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
Copyright © 2003–2018 jMock. All rights reserved.