org.guiceyfruit.jndi.internal
Class Classes

java.lang.Object
  extended by org.guiceyfruit.jndi.internal.Classes

public class Classes
extends java.lang.Object

Version:
$Revision: 1.1 $

Constructor Summary
Classes()
           
 
Method Summary
static java.lang.Class<?> loadClass(java.lang.String name, java.lang.ClassLoader loader)
          Attempts to load the class of the given name from the thread context class loader first then the given class loader second
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classes

public Classes()
Method Detail

loadClass

public static java.lang.Class<?> loadClass(java.lang.String name,
                                           java.lang.ClassLoader loader)
                                    throws java.lang.ClassNotFoundException
Attempts to load the class of the given name from the thread context class loader first then the given class loader second

Parameters:
name - the name of the class
loader - the class loader to use if the thread context class loader cannot find the class
Returns:
the class loaded
Throws:
java.lang.ClassNotFoundException - if the class could not be found


Copyright © 2011. All Rights Reserved.