ShrinkWrap Implementation Base 1.0.1

org.jboss.shrinkwrap.api
Class ClassLoaderSearchUtilDelegator

java.lang.Object
  extended by 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 by ClassLoaderSearchUtil

Author:
Andrew Lee Rubinger

Method Summary
static Class<?> findClassFromClassLoaders(String className, Iterable<ClassLoader> classLoaders)
          Finds a Class by name using a series of ClassLoaders as the search path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findClassFromClassLoaders

public static Class<?> findClassFromClassLoaders(String className,
                                                 Iterable<ClassLoader> classLoaders)
                                          throws ClassNotFoundException,
                                                 IllegalArgumentException
Finds a Class by name using a series of ClassLoaders as the search path

Parameters:
className -
classLoaders -
Returns:
Throws:
ClassNotFoundException - If the Class could not be found in any of the specified CLs
IllegalArgumentException

ShrinkWrap Implementation Base 1.0.1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.