Re: Providers ordering
Sergey Beryozkin
Continuing with the idea of the special
treatment of the providers shipped with the spec implementations. Rather than pursue a @DefaultProvider idea, how about treating the providers in the javax.* namespace as 'default' ones ? Thus if say an MVC API ships its own CSRF exception mapper then it will be selected, unless the application has registered its own. Moreover, perhaps this idea and the idea of using @Priority are not mutually exclusive. IMHO the former puts less 'pressure' on the application providers to make it right... Sergey
On 21/05/17 16:19, Sergey Beryozkin wrote:
|
|