From dev-return-19724-apmail-aries-dev-archive=aries.apache.org@aries.apache.org Tue Feb 20 22:02:08 2018 Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C07317F3E for ; Tue, 20 Feb 2018 22:02:08 +0000 (UTC) Received: (qmail 38212 invoked by uid 500); 20 Feb 2018 22:02:08 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 38165 invoked by uid 500); 20 Feb 2018 22:02:08 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 38154 invoked by uid 99); 20 Feb 2018 22:02:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2018 22:02:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8695A1A0051 for ; Tue, 20 Feb 2018 22:02:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oE1qde9z3YVb for ; Tue, 20 Feb 2018 22:02:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 252B55F3A1 for ; Tue, 20 Feb 2018 22:02:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F3247E00B8 for ; Tue, 20 Feb 2018 22:02:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0076221E59 for ; Tue, 20 Feb 2018 22:02:02 +0000 (UTC) Date: Tue, 20 Feb 2018 22:02:00 +0000 (UTC) From: "Carlos Sierra (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARIES-1785) Application without JAX_RS_EXTENSION_SELECT fetchs Extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-1785?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1637= 0634#comment-16370634 ]=20 Carlos Sierra commented on ARIES-1785: -------------------------------------- Hi Stefan, as far as I understand this is the expected behaviour. _JAX_RS_EXTENSION_SE= LECT_ allows an application to create a dependency to an extension, so the = application won't be processed until the extensions are available. So appli= cations with _JAX_RS_EXTENSION_SELECT_ must _wait_ for their selected exten= sions to be present. On the other hand, extensions and resources, can target a particular applic= ation using _JAX_RS_APPLICATION_SELECT._ At the moment, extensions that do = not target a particular application are applied to all applications, while = resources that do not target a particular application are applied to the de= fault application. So an application without _JAX_RS_EXTENSION_SELECT_ does not need to wait f= or any extension to be present. Is this consistent with what you get? Bests. Carlos. =C2=A0 > Application without JAX_RS_EXTENSION_SELECT fetchs Extension > ------------------------------------------------------------ > > Key: ARIES-1785 > URL: https://issues.apache.org/jira/browse/ARIES-1785 > Project: Aries > Issue Type: Bug > Components: jax-rs-whiteboard > Affects Versions: jax-rs-whiteboard-1.0.0 > Reporter: Stefan Bischof > Priority: Major > Attachments: test.txt > > > Hi, > an application without any JAX_RS_EXTENSION_SELECT property fetchs a exte= ntion. > see the attached test for more information. > (could be paste into org.apache.aries.jax.rs.itests test.JaxrsTest.java) > regards -- This message was sent by Atlassian JIRA (v7.6.3#76005)