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

Sergey Beryozkin commented on CXF-7571:
---------------------------------------

Indeed, if we keep patching to support CDI-specific cases where @Context does 
not work then it will only keep us further away from achieving "@Inject UriInfo 
ui", etc. IMHO all the existing injection code has to be moved to a default 
strategy first, without worrying about CDI/etc. Once it's done and the 
confidence is there it does work, then a CDI specific strategy will cleanly 
replace the default strategy when needed.

>  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