| java.lang.Object org.mdarad.framework.util.ClassUtils
ClassUtils | public class ClassUtils (Code) | | This class contains static methods used to make some
operation on or with classes such as dyanamically instanciate
a Class object.
author: Philippe Brouillette version: 1.0 since: 1.4 |
Method Summary | |
public static Object | getInstance(Class type, Class[] constructorArgTypes, Object[] constructorArgs) Method that dynamically instanciates a class using the
constructor with the argument types specified by the
argument construcotrArgTypes . |
getInstance | public static Object getInstance(Class type, Class[] constructorArgTypes, Object[] constructorArgs) throws ClassUtilsException(Code) | | Method that dynamically instanciates a class using the
constructor with the argument types specified by the
argument construcotrArgTypes . The values for
the types are passed by constructorArgs .
Parameters: type - the class to be instanciated Parameters: constructorArgTypes - the argument types of the constructor to use Parameters: constructorArgs - the values for the arguments of the constructor. an instance of the class |
|
|