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

Andriy Redko commented on CXF-7571:
-----------------------------------

I wish it would be as simple as that :-) There are two major issues:

 - proxified beans (in this case InjectionUtils inject proxies into bean's 
proxy, not into the backing bean)
 - the more generic design issue: the injections implementation is blurred 
between CXF and whatever DI framework it may integrate with (CDI f.e)

As of now, the injection works in most cases (except field-based injection into 
proxified beans which could be workarounded). But this split of 
responsibilities makes it very hard to cover all possible cases.

>  Revamp of the CXF injection implementation
> -------------------------------------------
>
>                 Key: CXF-7571
>                 URL: https://issues.apache.org/jira/browse/CXF-7571
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>
> As more deep integration with CDI revealed, there are complexities in 
> bringing together `@Context`- and `@Inject`-based injections. Encapsulating 
> CXF injection implementation and than delegating the hard work to appropriate 
> strategy (CDI, Spring, ...) would be the right solution to address the 
> problem at its roots.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to