1 /* 2 * Copyright (C) The Apache Software Foundation. All rights reserved. 3 * 4 * This software is published under the terms of the Apache Software License 5 * version 1.1, a copy of which has been included with this distribution in 6 * the LICENSE.txt file. 7 */ 8 package org.apache.avalon.excalibur.pool; 9 10 /** 11 * This interface is for a PoolManager that creates pools that are managed 12 * asynchronously. The contract is that the controller type is specified in 13 * the constructor. 14 * 15 * @author <a HREF="mailto:bloritsch@apache.org">Berin Loritsch</a> 16 * @version CVS $Revision: 1.2 $ $Date: 2001/12/26 17:59:20 $ 17 * @since 4.1 18 */ 19 public interface PoolManager 20 { 21 /** 22 * Return a managed pool that has a controller. 23 */ 24 Pool getManagedPool( ObjectFactory factory, int initialEntries ) 25 throws Exception; 26 } 27