Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 7276 invoked from network); 15 Sep 2003 13:03:38 -0000 Received: from unknown (HELO web80708.mail.yahoo.com) (66.163.170.65) by daedalus.apache.org with SMTP; 15 Sep 2003 13:03:38 -0000 Message-ID: <20030915130339.10559.qmail@web80708.mail.yahoo.com> Received: from [81.223.81.160] by web80708.mail.yahoo.com via HTTP; Mon, 15 Sep 2003 15:03:39 CEST Date: Mon, 15 Sep 2003 15:03:39 +0200 (CEST) From: =?iso-8859-1?q?Christian=20Essl?= Subject: RE: [HiveMind] I don like HiveMind.getDefault and setDefault(Registry) To: Jakarta Commons Developers List In-Reply-To: <006401c37b87$10419240$6401a8c0@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1520314458-1063631019=:9405" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1520314458-1063631019=:9405 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Yes, exactly. Like: public static Registry constructDefaultRegistry(){ ClassResolver resolver = new DefaultClassResolver(); RegistryBuilder builder = new RegistryBuilder(); builder.processModules(resolver); Registry registry = builder.constructRegistry(Locale.getDefault()); return registry; } (At the moment I am just not at my computer. So I have to send it this way). "Howard M. Lewis Ship" wrote: So, you mean something like public static Registry constructDefaultRegistry(); on class HiveMind? That's not a bad idea at all. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com --------------------------------- Gesendet von http://mail.yahoo.de Schneller als Mail - der neue Yahoo! Messenger. --0-1520314458-1063631019=:9405--