cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Smyth (JIRA)" <>
Subject [jira] Created: (CXF-654) Inherited @Resource annotated fields/methods declared not injected
Date Tue, 15 May 2007 08:25:16 GMT
Inherited @Resource annotated fields/methods declared not injected

                 Key: CXF-654
             Project: CXF
          Issue Type: Bug
          Components: Bus
    Affects Versions: 2.0-RC
            Reporter: Andrea Smyth

Section 2.3 of the spec mandates that @Resource annotated fields declared in superclasses
need to be injected also, and regardless of their acces modifiers.
Therefore, even a merge of the fields obtained with getFields, getDeclaredFields is not enough
- superclasses need explicitly be checked.
Currently the implementation only in injects @Resource annotated fields in the class itself.
The same goes for methods.  Here it seems the implementation does travel base classes and
interfaces, but does so only for public methods (i.e. relies exclusively on getMethods).

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

View raw message