Simon Mieth wrote:

Hi again,

i forgot, the CocoonBean setup like ContextDir is the same
and a changes are ignored, this needs a new cocoon-instance.

So the "recycle" only works with the initialized Context.

Maybe there is a better name as "recycle" to protect
confusion about the interface from Avalon.

Best Regards,

Simon



Thinking about this, it occurs to me that what your 'recycle' method does is to remove all targets, rather than recycle the component.

Therefore, I'd suggest we have a method called something like removeTargets() that does crawler = new Crawler();

Regards, Upayavira




Reply via email to