public class ClassLoaderSearchUtilDelegator extends Object
ClassLoaderSearchUtil| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
findClassFromClassLoaders(String className,
Iterable<ClassLoader> classLoaders)
Finds a
Class by name using a series of ClassLoaders as the search path |
public static Class<?> findClassFromClassLoaders(String className, Iterable<ClassLoader> classLoaders) throws ClassNotFoundException, IllegalArgumentException
Class by name using a series of ClassLoaders as the search pathclassName - The fully qualified name of the class to find.classLoaders - An Iterable of ClassLoaders to be used as the search pathClass object representing the class foundClassNotFoundException - If the Class could not be found in any of the specified CLsIllegalArgumentExceptionCopyright © 2024 JBoss by Red Hat. All rights reserved.