Return to www.inductionframework.org

com.acciente.induction.util
Class ObjectFactory

java.lang.Object
  extended by 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

Constructor Summary
ObjectFactory()
           
 
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
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Method Detail

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

Return to www.inductionframework.org

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