org.castor.jdo.util

Class ClassLoadingUtils

public final class ClassLoadingUtils extends Object

Common static methods for Castor JDO related to class loading.

Since: 1.0 M2

Version: $Revision: 5951 $ $Date$

Author: Werner Guttmann

Method Summary
static ClassloadClass(ClassLoader classLoader, String classname)
Loads a class with a given name.

Method Detail

loadClass

public static Class loadClass(ClassLoader classLoader, String classname)
Loads a class with a given name.

Parameters: classLoader The class loader to use; null if the default class loader should be used. classname Name of the class to be loaded.

Returns: The class loaded as specified by the class name.

Throws: ClassNotFoundException If the given class can not be loaded.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com