org.apache.excalibur.mpool
Interface PoolManager

All Known Implementing Classes:
DefaultPoolManager

public interface PoolManager

This interface is for a PoolManager that creates pools that are managed asynchronously. The contract is that the controller type is specified in the constructor.

Since:
4.1
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:33 $
Author:
Avalon Development Team

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 Pool getManagedPool(ObjectFactory factory, int initialEntries)
          Return a managed pool that has a controller.
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

getManagedPool

public Pool getManagedPool(ObjectFactory factory,
                           int initialEntries)
                    throws java.lang.Exception
Return a managed pool that has a controller.

Throws:
java.lang.Exception


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.