You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Nicolas Mongrain-Lacombe (JIRA)" <ji...@apache.org> on 2016/05/06 01:03:12 UTC

[jira] [Comment Edited] (CXF-6879) JAX-RS Feature and SpringComponentScanServer

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

Nicolas Mongrain-Lacombe edited comment on CXF-6879 at 5/6/16 1:03 AM:
-----------------------------------------------------------------------

I tried cxf-rt-frontend-jaxrs version 3.1.7-SNAPSHOT and 3.2.0-SNAPSHOT from http://repository.apache.org/snapshots/ .
It does not seems to work: the javax.ws.rs.core.Feature#configure method of my bean is not called. My bean implements javax.ws.rs.core.Feature and is annotated by javax.ws.rs.ext.Provider
It is added to the "jaxrsProviders" at org/apache/cxf/jaxrs/spring/AbstractSpringComponentScanServer.java:70 though.


was (Author: nlacombe):
I tried cxf-rt-frontend-jaxrs version 3.1.7-SNAPSHOT and 3.2.0-SNAPSHOT from http://repository.apache.org/snapshots/ .
It does not seems to work: the javax.ws.rs.core.Feature#configure method of my bean that implements javax.ws.rs.core.Feature and is annotated by javax.ws.rs.ext.Provider, is not called. It is added to the "jaxrsProviders" at org/apache/cxf/jaxrs/spring/AbstractSpringComponentScanServer.java:70 though.

> JAX-RS Feature and SpringComponentScanServer
> --------------------------------------------
>
>                 Key: CXF-6879
>                 URL: https://issues.apache.org/jira/browse/CXF-6879
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>    Affects Versions: 3.1.6
>            Reporter: Nicolas Mongrain-Lacombe
>            Priority: Minor
>              Labels: feature, jax-rs, spring
>
> SpringComponentScanServer should detect Spring bean that are JAX-RS Feature annotated with @Provider and use them to configure CXF accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)