org.activemq.util
Class ClassLoading
java.lang.Object
org.activemq.util.ClassLoading
public class ClassLoading
- extends Object
Utilities for loading classes.
- Version:
- $Rev: 109957 $ $Date: 2005/03/11 21:14:53 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoading
public ClassLoading()
loadClass
public static Class loadClass(String className,
ClassLoader classLoader)
throws ClassNotFoundException
- Load a class for the given name.
Handles loading primitive types as well as VM class and array syntax.
- Parameters:
className
- The name of the Class to be loaded.classLoader
- The class loader to load the Class object from.
- Returns:
- The Class object for the given name.
- Throws:
ClassNotFoundException
- Failed to load Class object.
getClassName
public static String getClassName(Class clazz)
Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.