Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 27108 invoked from network); 6 Feb 2007 16:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 16:01:38 -0000 Received: (qmail 32286 invoked by uid 500); 6 Feb 2007 16:01:45 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 32268 invoked by uid 500); 6 Feb 2007 16:01:44 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 32258 invoked by uid 99); 6 Feb 2007 16:01:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 08:01:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 08:01:37 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 202007142B5 for ; Tue, 6 Feb 2007 08:01:15 -0800 (PST) Message-ID: <16251660.1170777675128.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 08:01:15 -0800 (PST) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-370) ResourceInjector passes incorrect resource names In-Reply-To: <28574673.1169185469950.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-370?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-370. ----------------------------- Resolution: Fixed Fix Version/s: 2.0-RC > ResourceInjector passes incorrect resource names > ------------------------------------------------ > > Key: CXF-370 > URL: https://issues.apache.org/jira/browse/CXF-370 > Project: CXF > Issue Type: Bug > Affects Versions: 2.0-RC > Reporter: Jarek Gawor > Assigned To: Daniel Kulp > Fix For: 2.0-RC > > > The ResourceInjector passes incorrect resource names to ResourceResolvers= . For example, for the given annotation: > @Resource > private DataSource myDB; > resolveResource() is called with name =3D myDB and type =3D javax.sql.Dat= aSource. However, that is incorrect as according to the 'Common Annotations= for the Java=E2=84=A2 Platform=E2=84=A2' spec: > "In the example above the effective name is com.example.class/myDB and th= e effective type is javax.sql.DataSource.class." > If the name is not specified, the generated name should be qualified with= the class name of the instance. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.