cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-370) ResourceInjector passes incorrect resource names
Date Tue, 06 Feb 2007 16:01:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-370?page=com.atlassian.jira.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 = myDB and type = javax.sql.DataSource. However,
that is incorrect as according to the 'Common Annotations for the Java™ Platform™' spec:
> "In the example above the effective name is com.example.class/myDB and the 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message