|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ClassLoaderUtil
public class ClassLoaderUtil
A usefull class with method for ClassLoader
| Constructor Summary | |
|---|---|
ClassLoaderUtil()
|
|
| Method Summary | |
|---|---|
static java.net.URL[] |
getDeepURLs(java.net.URLClassLoader loader)
Returns the all urls to be used in a URLClassLoader. |
static java.net.URL[] |
getURLs(java.net.URLClassLoader classLoader)
Recupere la liste des urls d'un URLClassLoader. |
static void |
printLoader(java.lang.ClassLoader loader)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderUtil()
| Method Detail |
|---|
public static java.net.URL[] getDeepURLs(java.net.URLClassLoader loader)
URLClassLoader.
If classloader has only one url and the url is a jar, try to load in
manifest class-path.
loader - the classloader (if null will use system one)
public static java.net.URL[] getURLs(java.net.URLClassLoader classLoader)
URLClassLoader.
Note : Un cas particulier est positionné pour JBoss qui utilise
la method getAllURLs.
classLoader - le class loader a scanner
public static void printLoader(java.lang.ClassLoader loader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||