|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easybeans.util.loader.ClassUtils
public final class ClassUtils
The ClassUtils class is the central point used to load classes.
| Method Summary | |
|---|---|
static Class |
forName(String className)
Look up the class in the Tread Context ClassLoader and in the "current" ClassLoader. |
static Class |
forName(String className,
Class clazz)
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 |
| Method Detail |
|---|
public static Class forName(String className)
throws ClassNotFoundException
className - The class name to load
ClassNotFoundException - if the Class was not found.
public static Class forName(String className,
Class clazz)
throws ClassNotFoundException
className - The class name to loadclazz - a class used to get classloader
ClassNotFoundException - if the Class was not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||