|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.util.ClasspathUtils
Classpath discovery utilities
Constructor Summary | |
ClasspathUtils()
|
Method Summary | |
static List |
getClassLoaderClasspath(ClassLoader classloader)
Get the classpath searched for by a particular classloader (only supports URLClassLoader s presently) |
static URL[] |
getSystemClasspath()
This method will return an array of URLs used by the system classloader. |
static List |
getThreadContentClassLoaderHierarchy()
Get a list of classloaders in the thread context classloader hierarchy |
static URL[] |
getThreadContextClasspath()
This method will return an array of URLs used by the thread context classloader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClasspathUtils()
Method Detail |
public static URL[] getSystemClasspath()
URLClassLoader
, this method will return null
public static URL[] getThreadContextClasspath()
URLClassLoader
and return all URLs searched by these
classloaders in order of discovery. If no such classloaders are found this method will return null
public static List getThreadContentClassLoaderHierarchy()
public static List getClassLoaderClasspath(ClassLoader classloader)
URLClassLoader
s presently)
classloader
- to examine
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |