cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Mongrain-Lacombe (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-6879) JAX-RS Feature and SpringComponentScanServer
Date Fri, 06 May 2016 01:03:12 GMT

    [ 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)

Mime
View raw message