org.apache.commons.pool
Interface ObjectPoolFactory

All Known Implementing Classes:
GenericObjectPoolFactory, StackObjectPoolFactory

public interface ObjectPoolFactory

A factory interface for creating ObjectPools.

Since:
Pool 1.0
Version:
$Revision: 777748 $ $Date: 2009-05-22 17:00:44 -0700 (Fri, 22 May 2009) $
Author:
Rodney Waldhoff
See Also:
ObjectPool

Method Summary
 ObjectPool createPool()
          Create and return a new ObjectPool.
 

Method Detail

createPool

ObjectPool createPool()
                      throws IllegalStateException
Create and return a new ObjectPool.

Returns:
a new ObjectPool
Throws:
IllegalStateException - when this pool factory is not configured properly


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.