org.apache.excalibur.mpool
Class DefaultPoolManager

java.lang.Object
  extended byorg.apache.excalibur.mpool.DefaultPoolManager
All Implemented Interfaces:
PoolManager

public class DefaultPoolManager
extends java.lang.Object
implements 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:34 $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.excalibur.mpool.PoolManager
ROLE
 
Constructor Summary
DefaultPoolManager()
           
DefaultPoolManager(Sink commandSink)
           
 
Method Summary
 Pool getManagedPool(ObjectFactory factory, int initialEntries)
          Return a managed pool that has a controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPoolManager

public DefaultPoolManager()

DefaultPoolManager

public DefaultPoolManager(Sink commandSink)
Method Detail

getManagedPool

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

Specified by:
getManagedPool in interface PoolManager
Throws:
java.lang.Exception


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