cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2]: Component Pooling and recycling
Date Wed, 21 Feb 2001 14:47:08 GMT
> Berin Loritsch [mailto:bloritsch@apache.org] wrote:
>
> > What about the Recyclable components? Is it correct, that a Recyclable
> > component can be used without Poolable (or PoolClient) ? If so, who is
> > responsible for calling recycle() ?
> 
> The ComponentPool is responsible for calling recycle().  However, since
> you already have a reference to the Component, you can reuse it as long
> as you call recycle() between each use.
> 
Then I would suggest do add a test for Recyclable in the ResourcePipeline
to recycle a component which is not PoolClient.

Carsten


Mime
View raw message