com.ls.util
Interface IPoolObjectValidationCheckStrategy


public interface IPoolObjectValidationCheckStrategy

This interface is for encapsulation of a validation check for pool objects and is used in Pool.

Version:
$Revision: 1.1 $
Author:
Last modified by $Author: MFehrenbach $

Method Summary
 void check(Object object)
          Checks a given object if it's valid.
 

Method Detail

check

public void check(Object object)
Checks a given object if it's valid. If not replace it with a new one.
Parameters:
object - Object to check.