Hi all (Upayavira ;-) ),There is no recycle method in there, but I see no reason not to add one. Are you really sure that this.crawler = new Crawler() is all that is needed? If so, then that's great.
i use the CocoonBean for a OfflineCMS-System, which (CocoonBean) works fine. I would like rebuild pipelines without creating new instances of cocoon. For new pipelines it works, but for already build pipelines it fails.
In my case, i added a recycle() method to CocoonBean like:
public void recycle(){
this.crawler = new Crawler();
//checksums-test can be switched on/off
//with setChecksumURI(uri or null)?
}
is something like this in CocoonBean, or will this break something?
With recycle() it works much faster, because cocoon is
started up already.
Note, this would not be an implementation of an interface, as the CocoonBean is not an Avalon component. It would just be a convenience method.
I'm happy to add it. Any objections anyone?
Regards, Upayavira
BTW: the Checksum and page-reporting stuff works fine,Great. Maybe I should document it!
thanks.
Regards, Upayavira
