Save This Page
Home » commons-dbcp-1.2.2-src » org.apache.commons » jocl » [javadoc | source]
org.apache.commons.jocl
public class: ConstructorUtil [javadoc | source]
java.lang.Object
   org.apache.commons.jocl.ConstructorUtil
Miscellaneous Constructor related utility functions.
Method from org.apache.commons.jocl.ConstructorUtil Summary:
getConstructor,   invokeConstructor
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.jocl.ConstructorUtil Detail:
 public static Constructor getConstructor(Class type,
    Class[] argTypes) 
    Returns a Constructor for the given method signature, or null if no such Constructor can be found.
 public static Object invokeConstructor(Class type,
    Class[] argTypes,
    Object[] argValues) throws InvocationTargetException, IllegalAccessException, InstantiationException 
    Creates a new instance of the specified type using a Constructor described by the given parameter types and values.