users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Re: Target Configuration initialization

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Wed, 1 Feb 2012 09:19:27 -0500

On Feb 1, 2012, at 9:11 AM, Bill Burke wrote:

>
>
> On 2/1/12 8:57 AM, Santiago Pericas-Geertsen wrote:
>> On Jan 30, 2012, at 5:29 PM, Bill Burke wrote:
>>
>>> Target's Configuration, should be its own instance, IMO, and not shared with Client. It should, however be initialized with the configuration of the parent it was created from though (the Client or another Target).
>>>
>>> This will allow Target's to be in initialized from their parents, but also allow Targets to have different configurations. This is useful for cases like authentication where each Target might have different credentials.
>>
>> That's the way it's supposed to work. What made you think otherwise? E.g., see Section 5.6 of spec.
>>
>
> Lack of javadoc...k i'll read spec.

 Check out the javadoc for the Configuration class. If that's not clear, we should update it.

-- Santiago