|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.util.ConstructorUtils
Static methods for invoking constructors.
Method Summary | |
static java.lang.Object |
invokeConstructor(java.lang.Class targetClass,
java.lang.Object[] parameters)
Searches for a constructor matching against the provided arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Object invokeConstructor(java.lang.Class targetClass, java.lang.Object[] parameters)
targetClass
- the class to be instantiatedparameters
- the parameters to pass to the constructor (may be null or empty)
ApplicationRuntimeException
- on any failure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |