|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.arakhne.vmutil.ClassLoaderFinder
public final class ClassLoaderFinder
This utility class permits to find the better class loader for your application.
It tries to find the preferred class loader registered with
setPreferredClassLoader(ClassLoader).
If none was found, the default class loader will be replied.
| Constructor Summary | |
|---|---|
ClassLoaderFinder()
|
|
| Method Summary | |
|---|---|
static ClassLoader |
findClassLoader()
Replies the better class loader. |
static void |
popPreferredClassLoader()
Pop the preferred class loader. |
static void |
setPreferredClassLoader(ClassLoader class_loader)
Set the preferred class loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderFinder()
| Method Detail |
|---|
public static ClassLoader findClassLoader()
It tries to find the preferred class loader. If none was found, the default class loader will be replied.
nullpublic static void setPreferredClassLoader(ClassLoader class_loader)
class_loader - is the preferred class loaderpublic static void popPreferredClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||