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