|
eXo Kernel :: Commons Utils 2.5.0-Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.utils.ClassLoading
public class ClassLoading
| Constructor Summary | |
|---|---|
ClassLoading()
|
|
| Method Summary | |
|---|---|
static Class<?> |
forName(String type,
Class<?> callerClass)
Loads the class using the ClassLoader corresponding to the caller class first, if class not found we try with Thread's context ClassLoader (TCCL). |
static Class<?> |
forName(String type,
Object callerObject)
Loads the class using the ClassLoader corresponding to the caller object first, if class not found we try with Thread's context ClassLoader (TCCL). |
static Class<?> |
loadClass(String type,
Class<?> callerClass)
Loads the class using the ClassLoader corresponding to the caller class first, if class not found we try with Thread's context ClassLoader (TCCL). |
static Class<?> |
loadClass(String type,
Object callerObject)
Loads the class using the ClassLoader corresponding to the caller object first, if class not found we try with Thread's context ClassLoader (TCCL). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoading()
| Method Detail |
|---|
public static Class<?> forName(String type,
Object callerObject)
throws ClassNotFoundException
type - FQN of class to loadcallerObject - the object from which we want to load the class
ClassNotFoundException
public static Class<?> forName(String type,
Class<?> callerClass)
throws ClassNotFoundException
type - FQN of class to loadcallerClass - the class from which we want to load the class
ClassNotFoundException
public static Class<?> loadClass(String type,
Object callerObject)
throws ClassNotFoundException
type - FQN of class to loadcallerObject - the object from which we want to load the class
ClassNotFoundException
public static Class<?> loadClass(String type,
Class<?> callerClass)
throws ClassNotFoundException
type - FQN of class to loadcallerClass - the class from which we want to load the class
ClassNotFoundException
|
eXo Kernel :: Commons Utils 2.5.0-Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||