[
https://issues.apache.org/jira/browse/CXF-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adi Sakala updated CXF-370:
---------------------------
Assignee: Daniel Kulp
> 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
>
> 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.