Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 48818 invoked from network); 29 Nov 2000 11:47:03 -0000 Received: from sundn.pb.teuto.net (HELO viruswall.ynes.de) (212.8.194.130) by locus.apache.org with SMTP; 29 Nov 2000 11:47:03 -0000 Received: from 10.10.1.10 by viruswall.ynes.de (InterScan E-Mail VirusWall NT); Wed, 29 Nov 2000 12:46:36 +0100 (Westeuropaeische Normalzeit) Received: from hw0230 (fw-dmz.ynes.de [10.10.1.1]) by mail.ynes.de (8.9.3/8.9.3/NoSpam) with SMTP id MAA04174 for ; Wed, 29 Nov 2000 12:46:35 +0100 From: "Carsten Ziegeler" To: Subject: AW: [C2]: Dispose of sitemap components Date: Wed, 29 Nov 2000 12:47:24 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20001129121727.13846.qmail@web6202.mail.yahoo.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Giacomo Pati wrote > Well, I don't see this will hurt the architecture in any way. But I > suggest you use the Avalon interfaces Disposable for that.=20 Yes, I totally agree. >=20 > Berin, any addition to this would be appriciated :). >=20 > Also take into account that for pooled Component there is the > Recyclable interface for exact that reason. The recycle methed gets > called when the component is put back into the pool. May this will = help > too. Yes, I thought about that, but currently the setup() method, which each = sitemap component gets, is not send by the ComponentManager but by = Cocoon itself. So I think that the dispose() method should be called by = the same object as this is not a "pooling feature". So my suggestion would be to extend the SitemapModelComponent and the = SitemapOutputComponent interface with the Disposable interface from = avalon. Carsten=20 Open Source Group sunShine - Lighting up e:Business =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn www.sundn.de mailto:cziegeler@sundn.de=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D