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.5 $ $Date: 2004/03/29 16:50:37 $
Author:
Avalon Development Team

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 © 1997-2005 The Apache Software Foundation. All Rights Reserved.