org.objectweb.easybeans.util.loader
Class ClassUtils

java.lang.Object
  extended by org.objectweb.easybeans.util.loader.ClassUtils

public final class ClassUtils
extends java.lang.Object

The ClassUtils class is the central point used to load classes.

Author:
Guillaume Sauthier

Constructor Summary
private ClassUtils()
          Default constructor.
 
Method Summary
static java.lang.Class forName(java.lang.String className)
          Look up the class in the Tread Context ClassLoader and in the "current" ClassLoader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassUtils

private ClassUtils()
Default constructor.

Method Detail

forName

public static java.lang.Class forName(java.lang.String className)
                               throws java.lang.ClassNotFoundException
Look up the class in the Tread Context ClassLoader and in the "current" ClassLoader.

Parameters:
className - The class name to load
Returns:
the corresponding Class instance
Throws:
java.lang.ClassNotFoundException - if the Class was not found.