org.apache.avalon.excalibur.pool
Interface Validatable

All Superinterfaces:
Poolable

public interface Validatable
extends Poolable

Used to define an object which can be validated by a ValidatedResourceLimitingPool.

Since:
4.1
Version:
CVS $Revision: 1.2 $ $Date: 2003/02/20 17:09:24 $
Author:
Leif Mortenson

Method Summary
 boolean validate()
          Called when an object is retrieved from a ValidatedResourceLimitingPool for reuse.
 

Method Detail

validate

public boolean validate()
Called when an object is retrieved from a ValidatedResourceLimitingPool for reuse.

Returns:
true if the object is ok. false will cause the object to be discarded.


Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved.