You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/08/20 21:14:52 UTC
[jira] [Resolved] (CXF-5212) Context Injection with Spring AOP
[ https://issues.apache.org/jira/browse/CXF-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-5212.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.7.7
2.6.10
3.0.0
Assignee: Sergey Beryozkin
Hi Thorsten, thanks for the patch and the test project, it helped me to figure out how to update the system test;
> Context Injection with Spring AOP
> ---------------------------------
>
> Key: CXF-5212
> URL: https://issues.apache.org/jira/browse/CXF-5212
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.7.6
> Reporter: Thorsten Hoeger
> Assignee: Sergey Beryozkin
> Priority: Minor
> Labels: frontend
> Fix For: 3.0.0, 2.6.10, 2.7.7
>
> Attachments: 0001-adding-deepscan-of-superclass.patch
>
>
> When using Spring AOP @Context injection using fields is not working. I found some threads suggesting the use of interfaces which is working. Now I wanted to add the interface to my superclass to avoid implementing it in every REST class. The "findContextSetterMethods" doesn't check superclasses. I attached a possible patch but I am not sure about side effects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira