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: 480413 $ $Date: 2006-11-28 22:16:05 -0700 (Tue, 28 Nov 2006) $
Author:
Rodney Waldhoff
See Also:
ObjectPool

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

Method Detail

createPool

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

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


Copyright © 2001-2003 Apache Software Foundation. Documenation generated February 11 2009.