com.metamatrix.common.pooling.util
Class PoolingUtil

java.lang.Object
  extended by com.metamatrix.common.pooling.util.PoolingUtil

public class PoolingUtil
extends java.lang.Object


Constructor Summary
PoolingUtil()
           
 
Method Summary
static java.lang.Object create(java.lang.String className, java.util.Collection ctorObjs)
          Helper method to create an instance of the class using the appropriate constructor based on the ctorObjs passed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolingUtil

public PoolingUtil()
Method Detail

create

public static final java.lang.Object create(java.lang.String className,
                                            java.util.Collection ctorObjs)
                                     throws ResourcePoolException
Helper method to create an instance of the class using the appropriate constructor based on the ctorObjs passed.

Parameters:
className - is the class to instantiate
ctorObjs - are the objects to pass to the constructor; optional, nullable
Returns:
Object is the instance of the class
Throws:
ResourcePoolException - if an error occurrs instantiating the class


Copyright © 2009. All Rights Reserved.