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 20:00:44 -0400 (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-2009 The Apache Software Foundation. All Rights Reserved.