|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.util.ClassLoaderUtils
public abstract class ClassLoaderUtils
Utility class for diagnostic purposes, to analyze the ClassLoader hierarchy for any given object or class loader.
ClassLoader
Constructor Summary | |
---|---|
ClassLoaderUtils()
|
Method Summary | |
---|---|
static String |
showClassLoaderHierarchy(ClassLoader cl)
Show the class loader hierarchy for the given class loader. |
static String |
showClassLoaderHierarchy(ClassLoader cl,
String lineBreak,
String tabText)
Show the class loader hierarchy for the given class loader. |
static String |
showClassLoaderHierarchy(Object obj,
String role)
Show the class loader hierarchy for this class. |
static String |
showClassLoaderHierarchy(Object obj,
String role,
String lineBreak,
String tabText)
Show the class loader hierarchy for this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderUtils()
Method Detail |
---|
public static String showClassLoaderHierarchy(Object obj, String role)
obj
- object to analyze loader hierarchy forrole
- a description of the role of this class in the application
(e.g., "servlet" or "EJB reference")
public static String showClassLoaderHierarchy(Object obj, String role, String lineBreak, String tabText)
obj
- object to analyze loader hierarchy forrole
- a description of the role of this class in the application
(e.g., "servlet" or "EJB reference")lineBreak
- line breaktabText
- text to use to set tabs
public static String showClassLoaderHierarchy(ClassLoader cl)
cl
- class loader to analyze hierarchy for
public static String showClassLoaderHierarchy(ClassLoader cl, String lineBreak, String tabText)
cl
- class loader to analyze hierarchy forlineBreak
- line breaktabText
- text to use to set tabs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |