com.acciente.induction.util
Class ObjectFactory

java.lang.Object
  extended by com.acciente.induction.util.ObjectFactory

public class ObjectFactory
extends Object

Internal. This class creates (and destroys) objects using a uniform convention.

Author:
Adinath Raveendra Raj

Constructor Summary
ObjectFactory()
           
 
Method Summary
static Object createObject(Class oClass, Object[] aoInitArgs, com.acciente.commons.reflect.ParameterProvider oParameterProvider)
           
static void destroyObject(Object oTargetObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Method Detail

createObject

public static Object createObject(Class oClass,
                                  Object[] aoInitArgs,
                                  com.acciente.commons.reflect.ParameterProvider oParameterProvider)
                           throws InvocationTargetException,
                                  com.acciente.commons.reflect.ParameterProviderException,
                                  InstantiationException,
                                  IllegalAccessException,
                                  ConstructorNotFoundException
Throws:
InvocationTargetException
com.acciente.commons.reflect.ParameterProviderException
InstantiationException
IllegalAccessException
ConstructorNotFoundException

destroyObject

public static void destroyObject(Object oTargetObject)
                          throws InvocationTargetException,
                                 IllegalAccessException
Throws:
InvocationTargetException
IllegalAccessException


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.