You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/05/18 07:42:16 UTC
[jira] Assigned: (CXF-654) Inherited @Resource annotated
fields/methods declared not injected
[ https://issues.apache.org/jira/browse/CXF-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-654:
--------------------------------
Assignee: Freeman Fang (was: Jervis Liu)
> Inherited @Resource annotated fields/methods declared not injected
> ------------------------------------------------------------------
>
> Key: CXF-654
> URL: https://issues.apache.org/jira/browse/CXF-654
> Project: CXF
> Issue Type: Bug
> Components: Bus
> Affects Versions: 2.0-RC
> Reporter: Andrea Smyth
> Assigned To: Freeman Fang
> 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 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.