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

Romain Manni-Bucau commented on CXF-8344:
-----------------------------------------

I don't have the case handy anymore but I think OSGi JAXRS whiteboard does not 
unwrap the class. Typically, setResourceClassesFromBeans is not always called , 
it is just one potential path where proxies can be seen, so I guess the 
assumption it is unwrapped can be wrong. I see resource providers and 
setResourceClasses at least as alternate cases needing some unproxying. I see 
PerRequestResourceProvider does not handle it for example - but since providers 
are pluggable I guess it should be handled outside providers actually.

> org.apache.cxf.jaxrs.utils.AnnotationUtils#getNameBindings does not use 
> ClassUnwrapper
> --------------------------------------------------------------------------------------
>
>                 Key: CXF-8344
>                 URL: https://issues.apache.org/jira/browse/CXF-8344
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Andriy Redko
>            Priority: Major
>
> ... which leads to miss the whole annotated model with some proxies



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to