Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 51786 invoked from network); 24 Dec 2005 15:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Dec 2005 15:12:17 -0000 Received: (qmail 42227 invoked by uid 500); 24 Dec 2005 15:12:17 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 42166 invoked by uid 500); 24 Dec 2005 15:12:16 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Delivered-To: moderator for felix-dev@incubator.apache.org Received: (qmail 2679 invoked by uid 99); 24 Dec 2005 02:59:32 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of richard.s.hall@gmail.com designates 64.233.162.199 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=E1vsu5K2K1tr7FEM78sBCqNRHRupzAT+B6AypYFZxmw8VOcJJughppIkh6+kXBlQZkJ+RWQrNZXZEBAY6pgHt6YKNrQ1B3wVjOFhaUzAqj7xBfUFd9WA/TyX/lXl68d0QVMkF/IlgI1/Aa+KpTwa4s/KblQhrD4ikqXr0ynNPjs= Message-ID: <43ACB999.6000203@ungoverned.org> Date: Fri, 23 Dec 2005 21:59:37 -0500 User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: felix-dev@incubator.apache.org Subject: Re: PicoContainer in Felix References: <1135291164.4071.414.camel@trout> <43AB2D3E.2060303@luminis.nl> <1135297607.4071.419.camel@trout> <43AC14F2.3000100@ungoverned.org> <768dcb2e0512231604q7929f295g@mail.gmail.com> In-Reply-To: <768dcb2e0512231604q7929f295g@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: "Richard S. Hall" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Trustin Lee wrote: > 2005/12/24, Richard S. Hall : > >> I have been wondering lately if we should adopt a strategy for Felix >> regarding the context class loader, such as automatically setting the >> context class loader for any thread that the framework sends into a >> bundle (e.g., activation, callbacks) and unsetting it upon exit. >> >> We could possibly eliminate some of these issues. >> > > > Interesting idea. Wouldn't there by any side effect? Good question. I think other frameworks do something similar. It might not work 100% of the time, but it could work in the standard cases. From a conceptual purity point of view, it is not nice because bundles can gain access to classes that they don't import. We need to flesh out a strategy for it to determine if it sounds like it would be a good thing to do. -> richard