|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.classloader.ClassLoaderUtil
public final class ClassLoaderUtil
Utility methods for class loader manipulation in a server environment.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 release
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |