Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D44059DE7 for ; Fri, 6 Apr 2012 12:41:49 +0000 (UTC) Received: (qmail 70582 invoked by uid 500); 6 Apr 2012 12:41:49 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 70534 invoked by uid 500); 6 Apr 2012 12:41:49 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 70516 invoked by uid 99); 6 Apr 2012 12:41:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 12:41:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 12:41:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2453F35CBB9 for ; Fri, 6 Apr 2012 12:41:24 +0000 (UTC) Date: Fri, 6 Apr 2012 12:41:24 +0000 (UTC) From: =?utf-8?Q?=C5=81ukasz_Dywicki_=28Created=29_=28JIRA=29?= To: deltaspike-dev@incubator.apache.org Message-ID: <478077258.22988.1333716084159.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DELTASPIKE-151) Provide lookup method with Map result MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Provide lookup method with Map result ------------------------------------- Key: DELTASPIKE-151 URL: https://issues.apache.org/jira/browse/DELTASPIKE-151 Project: DeltaSpike Issue Type: Improvement Components: Core Affects Versions: 0.2-incubating Reporter: =C5=81ukasz Dywicki Assignee: Gerhard Petracek Currently BeanProvider do not support lookups with Map result. In my case I= create a adapter from Camel registry object to CDI bean registry. Camel us= es different kind of lookups when needed: - by name (when type is unknown) - by type (for one instance) - by name and type - by type, with names Second operation is used to collect for example all instances of given type= (all Endpoint, Tracer implementations registered). Names are then used to = get returned instances in correct places. Camel is container agnostic so we= cannot rely on CDI features in all places. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira