cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bozhong Lin (JIRA)" <>
Subject [jira] Updated: (CXF-654) Inherited @Resource annotated fields/methods declared not injected
Date Thu, 17 May 2007 04:01:25 GMT


Bozhong Lin updated CXF-654:

    Assignee: Jervis Liu

> Inherited @Resource annotated fields/methods declared not injected
> ------------------------------------------------------------------
>                 Key: CXF-654
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0-RC
>            Reporter: Andrea Smyth
>         Assigned To: Jervis Liu
>             Fix For: 2.0
> 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
> 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