|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.util.ClassUtil
ClassUtil
.
@Deprecated public final class ClassUtil
Utilities to work with dynamic class loading and instantiation.
Method Summary | |
---|---|
static Object |
instantiate(String className)
Deprecated. Use ClassUtil.instantiate(String) . |
static Object |
instantiate(String className,
boolean returnNull)
Deprecated. Use ClassUtil.instantiate(String, boolean) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static Object instantiate(String className)
ClassUtil.instantiate(String)
.
className
- The class name to load and to instantiate.
CannotInstantiateObjectException
- If
something goes wrong during instantiation.@Deprecated public static Object instantiate(String className, boolean returnNull)
ClassUtil.instantiate(String, boolean)
.
className
- The class name to load and to instantiate.returnNull
- If true
, if the class is not found it
returns true
, otherwise it throws a
TilesException
.
CannotInstantiateObjectException
- If
something goes wrong during instantiation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |