Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 66297 invoked from network); 20 Nov 2006 19:16:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 19:16:14 -0000 Received: (qmail 4749 invoked by uid 500); 20 Nov 2006 19:16:23 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4693 invoked by uid 500); 20 Nov 2006 19:16:23 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4682 invoked by uid 99); 20 Nov 2006 19:16:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 11:16:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 11:16:09 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.226.144.246] (c-f690e255.188-1-64736c14.cust.bredbandsbolaget.se [85.226.144.246]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11.20060308/8.12.11) with ESMTP id kAKJFlBF027323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 20 Nov 2006 20:15:47 +0100 (MET) Message-ID: <4561FEDD.4000309@nada.kth.se> Date: Mon, 20 Nov 2006 20:15:41 +0100 From: Daniel Fagerstrom User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Shielded class loading between blocks References: <45618FC0.1070706@apache.org> <4561A6C0.7030000@nada.kth.se> <4561AAD5.7080703@apache.org> In-Reply-To: <4561AAD5.7080703@apache.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Reinhard Poetz skrev: > Daniel Fagerstrom wrote: > >> Seem like a good solution to me. I would prefer putting this >> functionality in a ShieldingBlockServlet that extends the BlockServlet >> though. If we put to much extras in the BlockServlet it will be hard >> for people to understand what it does and to contribute to make it >> stable. > > Wouldn't be servlet filters the best solutions for these cross-cutting > concerns? (another example is the reloading classloader that we should > move from sitemap level to the block level). That would require that we created some kind of block filters analog to the block servlet and created some mechanism for wiring these together in the Spring container. Entirely possible, but do we really like to add that level of complexity? /Daniel