cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: finalize not called on my processor
Date Thu, 16 Nov 2000 17:34:53 GMT
"Per Steffensen" <> wrote:
>I am making my own processor by subclassing. I works ok until now, but I 
>have some things that I want to be done when the processor is shut down by 
>cocoon. I need an opposit of init. I use finalize, but it seems not to be 
>called. Where can I put my "finalization"-code? How can I make sure that 
>finalize() is called.

finalize() is never guaranteed to be called so it's a bit useless really. 
However I've just added a DestroyListener capability in CVS. Just download 
from CVS, make your Processor implement 
org.apache.cocoon.framework.DestroyListener and it should work.

Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

View raw message