You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2014/10/21 12:24:34 UTC
[jira] [Commented] (TOMEE-1424) JAX-RS Provider order should be
deterministic
[ https://issues.apache.org/jira/browse/TOMEE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178241#comment-14178241 ]
David Blevins commented on TOMEE-1424:
--------------------------------------
If the list is once per webapp (which I assume it is), we should sort in this order:
1. Alphabetically
2. location in the webapp & server
For #2, the order would be something like:
1. WEB-INF/classes/
2. WEB-INF/lib/
3. Anywhere else
> JAX-RS Provider order should be deterministic
> ---------------------------------------------
>
> Key: TOMEE-1424
> URL: https://issues.apache.org/jira/browse/TOMEE-1424
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: David Blevins
>
> Due to scanning being unordered, it is currently random which provider you get when @Provider is used to find JAX-RS providers.
> We should favor the providers in the application.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)