From hivemind-user-return-438-apmail-jakarta-hivemind-user-archive=jakarta.apache.org@jakarta.apache.org Thu Nov 11 14:09:53 2004 Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 71619 invoked from network); 11 Nov 2004 14:09:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Nov 2004 14:09:53 -0000 Received: (qmail 97117 invoked by uid 500); 11 Nov 2004 14:09:53 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 97100 invoked by uid 500); 11 Nov 2004 14:09:52 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-user@jakarta.apache.org Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 97074 invoked by uid 99); 11 Nov 2004 14:09:52 -0000 Received-SPF: pass (hermes.apache.org: domain of hlship@gmail.com designates 64.233.170.202 as permitted sender) Received: from [64.233.170.202] (HELO rproxy.gmail.com) (64.233.170.202) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 06:09:52 -0800 Received: by rproxy.gmail.com with SMTP id a36so312882rnf for ; Thu, 11 Nov 2004 06:09:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ceI8tUxJsdEC9NdnxR/ID/WMgUuSyEgYOBQoyoEJiGdgfjcGq+UIfXXkd1m0Whle4uJ67+d4NN3vAI3u4tHZ+aP/vejFVhsA4ngK0/Jtg2EViv/MGsZrtDch3tWzlReo8JFl7MzFhAKc/dWpOgdawiJkACs2DEOw0n6p2SbnWGg= Received: by 10.38.15.65 with SMTP id 65mr521007rno; Thu, 11 Nov 2004 06:09:48 -0800 (PST) Received: by 10.38.74.52 with HTTP; Thu, 11 Nov 2004 06:09:48 -0800 (PST) Message-ID: Date: Thu, 11 Nov 2004 09:09:48 -0500 From: Howard Lewis Ship Reply-To: Howard Lewis Ship To: hivemind-user@jakarta.apache.org Subject: Re: [SPAM] - Retrieve configuration as a Map - Email has different SMTP TO: and MIME TO: fields in the email addresses In-Reply-To: <96AE6AD20A5069429DD395210BF1BCED9A8EEC@dexter.cowww.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <96AE6AD20A5069429DD395210BF1BCED9A8EEC@dexter.cowww.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N What about: This would be easy to implement; it takes a configuration's List, creates a Map from it based on a named keyProperty and assigns that Map to the property of the contructed service. Can you just tell that I love the ObjectProvider concept? I wish I had thought of it much earlier. On Wed, 10 Nov 2004 13:56:42 -0500, Steve Gibson wrote: > Its too bad we couldn't specify Collection and be able to mutate a > Collection to a Map. > An EntrySet is a Set, could be expressed as a List, but forms the basis > for a Map. > > Too bad the Collections framework doesn't do this for us... > > Steve Gibson > > -----Original Message----- > From: David J. M. Karlsen [mailto:david@davidkarlsen.com] > Sent: Wednesday, November 10, 2004 1:36 PM > To: hivemind-user@jakarta.apache.org > Subject: [SPAM] - Retrieve configuration as a Map - Email has different > SMTP TO: and MIME TO: fields in the email addresses > > Proposal for 1.1 / general feature request (also put on the wiki-web): > > Very often configuration for implementation classes is a set of unique > and required properties. Therefore it would be very interesting to > retrieve the configuration as a Map rather than a List, because it's > possible to use keys, rather than retrieving a List and not knowing > which property is which. > > What do you think? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org