[ https://issues.apache.org/jira/browse/CXF-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325294#comment-16325294 ]
ASF GitHub Bot commented on CXF-7571: ------------------------------------- reta commented on a change in pull request #351: [CXF-7571] Adding support for CDI injection of @Context objects. URL: https://github.com/apache/cxf/pull/351#discussion_r161379679 ########## File path: rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java ########## @@ -1526,4 +1529,13 @@ public static Type processGenericTypeIfNeeded(Class<?> serviceCls, Class<?> para public static Object getEntity(Object o) { return o instanceof GenericEntity ? ((GenericEntity<?>)o).getEntity() : o; } + + public static Set<Class<?>> getCustomContextClasses() { Review comment: Moving to CDI module would be better I believe, so it would be clear where this flow belongs to ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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: John D. Ament > > 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)