Package org.alfresco.util
Class Debug
java.lang.Object
org.alfresco.util.Debug
Class containing debugging utility methods
- Author:
- gavinc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
whichClass
(String className) Returns the location of the file that will be loaded for the given class namestatic String
whichClassLoader
(String className) Returns the class loader that will load the given class namestatic String
whichClassLoaderHierarchy
(String className) Returns the class loader hierarchy that will load the given class name
-
Constructor Details
-
Debug
public Debug()
-
-
Method Details
-
whichClass
Returns the location of the file that will be loaded for the given class name- Parameters:
className
- The class to load- Returns:
- The location of the file that will be loaded
- Throws:
ClassNotFoundException
-
whichClassLoader
Returns the class loader that will load the given class name- Parameters:
className
- The class to load- Returns:
- The class loader the class will be loaded in
- Throws:
ClassNotFoundException
-
whichClassLoaderHierarchy
Returns the class loader hierarchy that will load the given class name- Parameters:
className
- The class to load- Returns:
- The hierarchy of class loaders used to load the class
- Throws:
ClassNotFoundException
-