uk.org.bryanray.testtoys.util
Class BeanUtil

java.lang.Object
  extended by uk.org.bryanray.testtoys.util.BeanUtil

public class BeanUtil
extends java.lang.Object

Project:
TestDataLoader
Filename:
BeanUtil.java
Creation Date:
26 May 2008

Author:
Bryan Ray

Constructor Summary
BeanUtil()
           
 
Method Summary
static java.lang.Object createInstance(java.lang.String className, java.lang.Class<?>[] constructorTypes, java.lang.Object[] constructorValues)
          Creates a new instance of a class, wrapping any thrown exceptions using ExceptionUtil.convertException(Exception).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtil

public BeanUtil()
Method Detail

createInstance

public static java.lang.Object createInstance(java.lang.String className,
                                              java.lang.Class<?>[] constructorTypes,
                                              java.lang.Object[] constructorValues)
Creates a new instance of a class, wrapping any thrown exceptions using ExceptionUtil.convertException(Exception).

Parameters:
className - The fully qualified class name to instantiate.
constructorTypes - The types of the constructor arguments.
constructorValues - The values of the constructor arguments.


Copyright © 2008. All Rights Reserved.