jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Inheritance of Application name-bindings

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Wed, 19 Sep 2012 15:26:06 +0100

Hi Santiago

I'm referring to the last 2 doc lines at
http://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/javax/ws/rs/NameBinding.html


Sergey

On 19/09/12 15:12, Sergey Beryozkin wrote:
> On 19/09/12 14:21, Santiago Pericas-Geertsen wrote:
>> Hi Sergey,
>>
>> On Sep 18, 2012, at 4:38 PM, Sergey Beryozkin wrote:
>>
>>> Application name-bindings do apply to providers this Application
>>> provides (filters, interceptors).
>>>
>>> What is the rule when some of the providers have their own
>>> name-bindings ? Do they end up with their own name-bindings + those
>>> belonging to Application ?
>>
>> Not sure I understand the use case you have in mind. Could you
>> elaborate or show an example?
>
> Well, I'm not exactly proposing anything yet, first of all I'd like to
> understand the default rules.
>
> Do provider-specific name-bindings are ignored or preferred when
> Application class which enables these providers has its own name bindings ?
>
> Sergey
>
>>
>> -- Santiago
>>
>>