cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Created: (CXF-370) ResourceInjector passes incorrect resource names
Date Fri, 19 Jan 2007 05:44:29 GMT
ResourceInjector passes incorrect resource names

                 Key: CXF-370
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-RC
            Reporter: Jarek Gawor

The ResourceInjector passes incorrect resource names to ResourceResolvers. For example, for
the given annotation:

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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message