net.sf.ehcache.util
public final class ClassLoaderUtil extends Object
Version: $Id: ClassLoaderUtil.java 52 2006-04-24 14:50:03Z gregluck $
Method Summary | |
---|---|
static Object | createNewInstance(String className)
Creates a new class instance. |
static ClassLoader | getStandardClassLoader()
Gets the ClassLoader that all classes in ehcache, and extensions, should use for classloading.
|
Parameters: className a fully qualified class name
Returns: null if the instance cannot be loaded
ClassLoader
that all classes in ehcache, and extensions, should use for classloading.
All ClassLoading in ehcache should use this one. This is the only thing that seems to work for all of the
class loading situations found in the wild.Returns: the thread context class loader.