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: 616612 $ $Date: 2008-01-29 21:38:55 -0700 (Tue, 29 Jan 2008) $
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-2008 The Apache Software Foundation. All Rights Reserved.