public class ClassLoading extends Object
Constructor and Description |
---|
ClassLoading() |
Modifier and Type | Method and Description |
---|---|
static String |
getClassName(Class clazz) |
static Class |
loadClass(String className,
ClassLoader classLoader)
Load a class for the given name.
|
public static Class loadClass(String className, ClassLoader classLoader) throws ClassNotFoundException
Handles loading primitive types as well as VM class and array syntax.
className
- The name of the Class to be loaded.classLoader
- The class loader to load the Class object from.ClassNotFoundException
- Failed to load Class object.Copyright © GigaSpaces.