A simple, {@link java.util.Stack Stack}-based {@link KeyedObjectPool} implementation.
Given a {@link KeyedPoolableObjectFactory}, this class will maintain a simple pool of instances. A finite number of "sleeping" or inactive instances is enforced, but when the pool is empty, new instances are created to support the new load. Hence this class places no limit on the number of "active" instances created by the pool, but is quite useful for re-using Objects without introducing artificial limits.
@author Rodney Waldhoff
@version $Id: StackKeyedObjectPool.java,v 1.12 2003/10/09 21:45:56 rdonkin Exp $