org.apache.commons.pool.impl
Class StackObjectPoolFactory

java.lang.Object
  |
  +--org.apache.commons.pool.impl.StackObjectPoolFactory
All Implemented Interfaces:
ObjectPoolFactory

public class StackObjectPoolFactory
extends Object
implements ObjectPoolFactory

A factory for creating StackObjectPool instances.

Version:
$Id: StackObjectPoolFactory.java,v 1.1.1.1 2001/04/14 16:41:58 rwaldhoff Exp $
Author:
Rodney Waldhoff
See Also:
StackObjectPool, KeyedObjectPoolFactory

Constructor Summary
StackObjectPoolFactory()
           
StackObjectPoolFactory(int max)
           
StackObjectPoolFactory(int max, int init)
           
StackObjectPoolFactory(PoolableObjectFactory factory)
           
StackObjectPoolFactory(PoolableObjectFactory factory, int max)
           
StackObjectPoolFactory(PoolableObjectFactory factory, int max, int init)
           
 
Method Summary
 ObjectPool createPool()
          Create and return a new ObjectPool.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackObjectPoolFactory

public StackObjectPoolFactory()

StackObjectPoolFactory

public StackObjectPoolFactory(int max)

StackObjectPoolFactory

public StackObjectPoolFactory(int max,
                              int init)

StackObjectPoolFactory

public StackObjectPoolFactory(PoolableObjectFactory factory)

StackObjectPoolFactory

public StackObjectPoolFactory(PoolableObjectFactory factory,
                              int max)

StackObjectPoolFactory

public StackObjectPoolFactory(PoolableObjectFactory factory,
                              int max,
                              int init)
Method Detail

createPool

public ObjectPool createPool()
Description copied from interface: ObjectPoolFactory
Create and return a new ObjectPool.

Specified by:
createPool in interface ObjectPoolFactory
Returns:
a new ObjectPool


Copyright © 2001-2002 Apache Software Foundation. Documenation generated February 22 2003.