org.ow2.util.pool.impl.enhanced.api.validator.clue
Interface ICluePoolValidator<E,C>

Type Parameters:
E - pool item type
C - clue type
All Superinterfaces:
IPoolValidator<E>
All Known Subinterfaces:
IValidatorCluePoolManager<E,C>
All Known Implementing Classes:
PoolFactoryImpl

public interface ICluePoolValidator<E,C>
extends IPoolValidator<E>

Author:
Gael Lalire

Method Summary
 boolean validate(E poolItem, C clue)
          This method is called when you try to get a pool item with a clue.
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.validator.IPoolValidator
validate
 

Method Detail

validate

boolean validate(E poolItem,
                 C clue)
This method is called when you try to get a pool item with a clue. If you try to get an item without a clue then the method in IPoolValidator will be called.

Parameters:
poolItem -
clue -
Returns:


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