public interface PoolableObject
PoolableObject
then the default object
pool implementation will call the init
method when returning the object from
ObjectPool.getObject
and call the returned
method when ObjectPool.returnObject
is called.
Objects that implement java.util.Collection
are automatically cleared when returned to
a default object pool.