|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xulux.utils.ClassLoaderUtils
public class ClassLoaderUtils
This util class contains classloader utils so we can do actual code reuse.
Constructor Summary | |
---|---|
protected |
ClassLoaderUtils()
Make it possible to extend.. |
Method Summary | |
---|---|
static java.lang.Class |
getClass(java.lang.String clazzString)
|
static java.lang.Object |
getObjectFromClass(java.lang.Class clazz)
Also instantiates static AND non static innerclasses. |
static java.lang.Object |
getObjectFromClass(java.lang.Class clazz,
java.util.List parms)
Tries to find a constructor with the parameters specified in the list If it cannot it will return the empty constructor. |
static java.lang.Object |
getObjectFromClassString(java.lang.String classString)
|
protected static java.lang.Object |
getParentObjectForInnerClass(java.lang.Class clazz)
Instantiates the parent object of an inner class. |
static boolean |
isInner(java.lang.Class clazz)
|
static void |
setLogger(org.xulux.api.logging.ILogger logger)
Set the logger to be used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClassLoaderUtils()
Method Detail |
---|
public static void setLogger(org.xulux.api.logging.ILogger logger)
logger
- the loggerpublic static java.lang.Object getObjectFromClassString(java.lang.String classString)
classString
- the class
public static java.lang.Object getObjectFromClass(java.lang.Class clazz)
clazz
- the class
protected static java.lang.Object getParentObjectForInnerClass(java.lang.Class clazz)
clazz
- the class
public static boolean isInner(java.lang.Class clazz)
clazz
- the class
public static java.lang.Object getObjectFromClass(java.lang.Class clazz, java.util.List parms)
clazz
- the classparms
- the list of parameters as classes
public static java.lang.Class getClass(java.lang.String clazzString)
clazzString
- the class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |