johnament 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_r161379748
 
 

 ##########
 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:
   Sure, but just to confirm the actual interface `ContextClassProvider` stays 
in frontend/jax-rs since multiple modules will use it (and shouldn't rely on 
CDI)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to