|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.common.ObjectInstantiator
public class ObjectInstantiator
| Constructor Summary | |
|---|---|
ObjectInstantiator()
|
|
| Method Summary | ||
|---|---|---|
static
|
newInstance(java.lang.Class<T> objectClass)
Intantiates the object with the specified class. |
|
static
|
newInstance(java.lang.String className,
java.lang.Class<T> expectedClass)
Intantiates the object with the specified class name. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectInstantiator()
| Method Detail |
|---|
public static <T> T newInstance(java.lang.String className,
java.lang.Class<T> expectedClass)
throws BuilderException
T - the type of the class nameclassName - the class nameexpectedClass - the expected class
BuilderException - if anything goes wrong
public static <T> T newInstance(java.lang.Class<T> objectClass)
throws BuilderException
T - the type of the class nameobjectClass - the objct class
BuilderException - if anything goes wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||