com.acciente.induction.util
Class ObjectFactory
java.lang.Object
com.acciente.induction.util.ObjectFactory
public class ObjectFactory
- extends java.lang.Object
Internal. This class creates (and destroys) objects using a uniform convention.
- Author:
- Adinath Raveendra Raj
Method Summary |
static java.lang.Object |
createObject(java.lang.Class oClass,
java.lang.Object[] aoInitArgs,
com.acciente.commons.reflect.ParameterProvider oParameterProvider)
|
static void |
destroyObject(java.lang.Object oTargetObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFactory
public ObjectFactory()
createObject
public static java.lang.Object createObject(java.lang.Class oClass,
java.lang.Object[] aoInitArgs,
com.acciente.commons.reflect.ParameterProvider oParameterProvider)
throws java.lang.reflect.InvocationTargetException,
com.acciente.commons.reflect.ParameterProviderException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
ConstructorNotFoundException
- Throws:
java.lang.reflect.InvocationTargetException
com.acciente.commons.reflect.ParameterProviderException
java.lang.InstantiationException
java.lang.IllegalAccessException
ConstructorNotFoundException
destroyObject
public static void destroyObject(java.lang.Object oTargetObject)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
Copyright © 2008-2009 Acciente, LLC. All Rights Reserved.