cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-5212) Context Injection with Spring AOP
Date Sun, 18 Aug 2013 18:32:48 GMT

    [ https://issues.apache.org/jira/browse/CXF-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743288#comment-13743288
] 

Sergey Beryozkin edited comment on CXF-5212 at 8/18/13 6:32 PM:
----------------------------------------------------------------

Hi, can you type an example code where the injection is still not working ? It would make
it simpler for me to add a test. I've tried to modify an existing test to push a setter to
an abstract class (in SecureBookStore in systests) and it worked, so some help in reproducing
an issue will help :-)
                
      was (Author: sergey_beryozkin):
    Hi, can you type an example code where the injection is still not working ? It would
make it simpler for me to add a 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
>            Priority: Minor
>              Labels: frontend
>         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

Mime
View raw message