cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <pruss...@apache.org>
Subject Re: cvs commit: xml-cocoon/src/org/apache/cocoon DefaultComponentManager.java CocoonComponentSelector.java
Date Sat, 03 Mar 2001 23:18:11 GMT
* Berin Loritsch (bloritsch@apache.org) wrote :
> The release() method is a Composer's way of stating that "I am done
> using this Component".  It does NOT mean that the Component should be
> destroyed.  This could cause dire issues with Components that are both
> ThreadSafe and Disposable.  When the ComponentManager/Selector is
> finally disposed, it should call those End of Life events for the
> housed Components.

Argh. Good point. Will fix if you haven't.

> If a Component is simply Recyclable, but not Poolable (I think this is
> impossible), then we should explicitly call recycle().

That's impossible, hence my change -- misunderstood what your code was
attempting to do. Again, will fix if you haven't already. (not got that
far through my mail yet)


P.

Mime
View raw message