Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 272EA18A2E for ; Mon, 25 Apr 2016 04:46:13 +0000 (UTC) Received: (qmail 73826 invoked by uid 500); 25 Apr 2016 04:46:13 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 73780 invoked by uid 500); 25 Apr 2016 04:46:13 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 73753 invoked by uid 99); 25 Apr 2016 04:46:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 04:46:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DCE672C0451 for ; Mon, 25 Apr 2016 04:46:12 +0000 (UTC) Date: Mon, 25 Apr 2016 04:46:12 +0000 (UTC) From: "Nicolas Mongrain-Lacombe (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-6879) JAX-RS Feature and SpringComponentScanServer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Mongrain-Lacombe updated CXF-6879: ------------------------------------------ Issue Type: New Feature (was: Bug) > 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 (AbstractSpringComponentScanServer) > treats all beans annotated with javax.ws.rs.ext.Provider as JAX-RS providers and does not recognize JAX-RS Feature annotated with @Provider. > When a Spring bean annotated with javax.ws.rs.ext.Provider is found, it should first check if the bean implements javax.ws.rs.core.Feature. If it does it should consider the bean a JAX-RS Feature, otherwise it should consider it as a JAX-RS Provider. > I am making reference to the code at artefact org.apache.cxf:cxf-rt-frontend-jaxrs:3.1.6 file org/apache/cxf/jaxrs/spring/AbstractSpringComponentScanServer.java:68 > This is from my understanding of the JAX-RS API and CXF implementation of SpringComponentScanServer. > Please tell me if I did not understand how some CXF or JAX-RS component should work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)