com.primix.tapestry.util.pool
Interface IPoolable

All Known Implementing Classes:
Default, EvenOdd, ValidationDelegate

public interface IPoolable

Marks an object as being aware that is to be stored into a Pool. This gives the object a last chance to reset any state.

Since:
1.0.4
Version:
$Id: IPoolable.java,v 1.1 2001/08/15 21:28:11 hship Exp $
Author:
Howard Ship

Method Summary
 void resetForPool()
          Invoked by a Pool just before the object is added to the pool.
 

Method Detail

resetForPool

public void resetForPool()
Invoked by a Pool just before the object is added to the pool. The object should return its state to how it was when freshly instantiated (or at least, its state should be indistinguishable from a freshly instantiated instance).