com.ibm.portal.pool
Interface ObjectPoolFactory


public interface ObjectPoolFactory

Factory providing object pool instances.

Since:
6.1.0.1

Method Summary
<E> ObjectPool<E>
newPool(Instantiator<E> aObjFactory)
          Creates a new object pool with predefined settings.
 

Method Detail

newPool

<E> ObjectPool<E> newPool(Instantiator<E> aObjFactory)
Creates a new object pool with predefined settings. The pool is associated with the instantiator passed in serving as a factory for the objects stored in the object pool.

Parameters:
aObjFactory - Factory that creates object instances. Must not be null.
Returns:
The new object pool.