|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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()
Deprecated. |
Method Summary | |
---|---|
static java.lang.String |
showClassLoaderHierarchy(java.lang.ClassLoader cl)
Deprecated. Show the class loader hierarchy for the given class loader. |
static java.lang.String |
showClassLoaderHierarchy(java.lang.ClassLoader cl,
java.lang.String lineBreak,
java.lang.String tabText)
Deprecated. Show the class loader hierarchy for the given class loader. |
static java.lang.String |
showClassLoaderHierarchy(java.lang.Object obj,
java.lang.String role)
Deprecated. Show the class loader hierarchy for this class. |
static java.lang.String |
showClassLoaderHierarchy(java.lang.Object obj,
java.lang.String role,
java.lang.String lineBreak,
java.lang.String tabText)
Deprecated. 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 java.lang.String showClassLoaderHierarchy(java.lang.Object obj, java.lang.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 java.lang.String showClassLoaderHierarchy(java.lang.Object obj, java.lang.String role, java.lang.String lineBreak, java.lang.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 java.lang.String showClassLoaderHierarchy(java.lang.ClassLoader cl)
cl
- class loader to analyze hierarchy for
public static java.lang.String showClassLoaderHierarchy(java.lang.ClassLoader cl, java.lang.String lineBreak, java.lang.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 |