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