Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 21423 invoked from network); 16 Nov 2000 17:35:20 -0000 Received: from f228.law4.hotmail.com (HELO hotmail.com) (216.33.149.228) by locus.apache.org with SMTP; 16 Nov 2000 17:35:20 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 16 Nov 2000 09:34:53 -0800 Received: from 148.88.0.10 by lw4fd.law4.hotmail.msn.com with HTTP; Thu, 16 Nov 2000 17:34:53 GMT X-Originating-IP: [148.88.0.10] From: "Robin Green" To: cocoon-users@xml.apache.org Cc: steff@brics.dk Subject: Re: finalize not called on my processor Date: Thu, 16 Nov 2000 17:34:53 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Nov 2000 17:34:53.0343 (UTC) FILETIME=[8762F2F0:01C04FF3] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "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 http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.