public class SearchingClassLoader extends ClassLoader
Constructor and Description |
---|
SearchingClassLoader(ClassLoader parent,
ClassLoader nextToSearch) |
Modifier and Type | Method and 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, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getProtectionDomainInternal, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, 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–2021 jMock. All rights reserved.