Package org.jboss.shrinkwrap.api
Class ClassLoaderSearchUtilDelegator
- java.lang.Object
-
- org.jboss.shrinkwrap.api.ClassLoaderSearchUtilDelegator
-
public class ClassLoaderSearchUtilDelegator extends Object
Widens visibility such that any package within ShrinkWrap impl-base may access the utilities provided byClassLoaderSearchUtil
- Author:
- Andrew Lee Rubinger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
findClassFromClassLoaders(String className, Iterable<ClassLoader> classLoaders)
Finds aClass
by name using a series ofClassLoader
s as the search path
-
-
-
Method Detail
-
findClassFromClassLoaders
public static Class<?> findClassFromClassLoaders(String className, Iterable<ClassLoader> classLoaders) throws ClassNotFoundException, IllegalArgumentException
Finds aClass
by name using a series ofClassLoader
s as the search path- Parameters:
className
-classLoaders
-- Returns:
- Throws:
ClassNotFoundException
- If theClass
could not be found in any of the specified CLsIllegalArgumentException
-
-