|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.primefaces.extensions.util.ClassUtils
public class ClassUtils
Component utils for this project.
| Method Summary | |
|---|---|
static java.lang.ClassLoader |
getClassLoader(java.lang.Class<?> clazz)
Detect the right ClassLoader. |
static java.lang.ClassLoader |
getClassLoader(java.lang.Object obj)
Detect the right ClassLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.ClassLoader getClassLoader(java.lang.Object obj)
ClassLoader.
The lookup order is determined by:
ClassLoader of the current ThreadClassLoader of the given Object 'obj'ClassLoader of this very ClassUtils class
obj - If not null it may get used to detect the ClassLoader.
ClassLoader which should get used to create new instancespublic static java.lang.ClassLoader getClassLoader(java.lang.Class<?> clazz)
ClassLoader.
The lookup order is determined by:
ClassLoader of the current ThreadClassLoader of the given Object 'obj'ClassLoader of this very ClassUtils class
clazz - If not null it may get used to detect the ClassLoader.
ClassLoader which should get used to create new instances
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||