org.apache.xbean.classloader
public final class ClassLoaderUtil extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
clearSunSoftCache(java.lang.Class clazz,
java.lang.String fieldName)
Clears the caches maintained by the SunVM object stream implementation.
|
static void |
destroy(java.lang.ClassLoader classLoader)
Cleans well known class loader leaks in VMs and libraries.
|
static void |
releaseCommonsLoggingCache(java.lang.ClassLoader classLoader)
Releases the specified classloader from the Apache Jakarta Commons Logging class loader cache using reflection.
|
public static void destroy(java.lang.ClassLoader classLoader)
classLoader
- the class loader to destroypublic static void clearSunSoftCache(java.lang.Class clazz, java.lang.String fieldName)
clazz
- the name of the class containing the cache fieldfieldName
- the name of the cache fieldpublic static void releaseCommonsLoggingCache(java.lang.ClassLoader classLoader)
classLoader
- the class loader to releaseCopyright © 2005-2014. All Rights Reserved.