Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 6265 invoked from network); 4 Sep 2003 10:42:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Sep 2003 10:42:35 -0000 Received: (qmail 74970 invoked by uid 500); 4 Sep 2003 10:42:32 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 74873 invoked by uid 500); 4 Sep 2003 10:42:31 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 74852 invoked from network); 4 Sep 2003 10:42:31 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 4 Sep 2003 10:42:31 -0000 Received: (qmail 4774 invoked by uid 50); 4 Sep 2003 07:35:42 -0000 Date: 4 Sep 2003 07:35:42 -0000 Message-ID: <20030904073542.4773.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-httpclient-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 15435] - New Preferences Architecture X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15435 New Preferences Architecture ------- Additional Comments From ortwin.glueck@nose.ch 2003-09-04 07:35 ------- A comment about classloaders to finde the properties file. We must be very careful about this and be as much compatible with other components i.e. handle it the same way. I am not 100% sure but I think the 'most common' procedure is a follows: 1. Try the current thread's context ClassLoader (if not null) and look for the properties file 2. Try the ClassLoader that loaded the class and look for the properties file 3. Use the Jar file service provider mechanism (see http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html) We must check other projects like Xerces, JCE how they handle ClassLoaders. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org