|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfun.util.ClassLoaderUtils
public class ClassLoaderUtils
Utility functions for ClassLoader related function.
Constructor Summary | |
---|---|
ClassLoaderUtils()
|
Method Summary | |
---|---|
static java.lang.ClassLoader |
guessClassLoader(java.lang.ClassLoader candidate)
Guess the most appropriate ClassLoader. |
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.ClassLoader guessClassLoader(java.lang.ClassLoader candidate)
This implementation chooses either the candidate ClassLoader, or the current context ClassLoader, or the system ClassLoader, whichever is the child ClassLoader of the other two.
If case no parent-child relationship is present, context ClassLoader takes precedence, then the candidate class loader, then the system class loader.
candidate
- the candidate ClassLoader.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |