|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.webvm.analyzer.classloader.ClassLoaderUtils
public final class ClassLoaderUtils
Contains utilities for classloader analysis.
| Method Summary | |
|---|---|
static void |
filterClashes(Map<URI,List<ClassLoader>> map)
Filters out regular class loader items, leaving only URIs loadable by multiple class loaders. |
static List<ClassLoader> |
getClassLoaderChain(ClassLoader cl)
Return the class loader parent chain as a list. |
static Map<URI,List<ClassLoader>> |
getClassLoaderURIs(ClassLoader cl)
Returns a map of URIs visible to class loaders. |
static URL[] |
getURLs(ClassLoader cl)
Returns URLs which given class loader claims to see. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static URL[] getURLs(ClassLoader cl)
URLClassLoader.getURLs().
cl - the class loader to analyze
public static List<ClassLoader> getClassLoaderChain(ClassLoader cl)
cl - the class loader to analyze
public static Map<URI,List<ClassLoader>> getClassLoaderURIs(ClassLoader cl)
throws URISyntaxException
cl - the class loader to analyze
URISyntaxExceptionpublic static void filterClashes(Map<URI,List<ClassLoader>> map)
map - URI - ClassLoaders map, must not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||