org.ow2.util.pool.impl.enhanced.api.basic
Interface IPoolItemFactory<E>

Type Parameters:
E - pool item type
All Known Subinterfaces:
ICluePoolManager<E,C>, IPoolItemRemoveClueManager<E,C>, IPoolItemRemoveManager<E>, IPoolManager<E>, IValidatorCluePoolManager<E,C>, IValidatorPoolManager<E>
All Known Implementing Classes:
CreateCB, ExecutorReusableThreadFactory, ManagementThreadReusableThreadFactory, PoolFactoryImpl, WorkManagerReusableThreadFactory

public interface IPoolItemFactory<E>

An implementation of this interface is mandatory to create a pool.

Author:
Gael Lalire

Method Summary
 E createPoolItem()
           
 

Method Detail

createPoolItem

E createPoolItem()
                 throws CreatePoolItemException
Returns:
a new pool item
Throws:
CreatePoolItemException


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.