[
https://issues.apache.org/jira/browse/ARIES-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370634#comment-16370634
]
Carlos Sierra commented on ARIES-1785:
--------------------------------------
Hi Stefan,
as far as I understand this is the expected behaviour.
_JAX_RS_EXTENSION_SELECT_ allows an application to create a dependency to an
extension, so the application won't be processed until the extensions are
available. So applications with _JAX_RS_EXTENSION_SELECT_ must _wait_ for their
selected extensions to be present.
On the other hand, extensions and resources, can target a particular
application 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
default application.
So an application without _JAX_RS_EXTENSION_SELECT_ does not need to wait for
any extension to be present.
Is this consistent with what you get?
Bests.
Carlos.
> 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
> extention.
> 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)