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

[jsr339-experts] Re: [jax-rs-spec users] Re: HEADS-UP: Common configuration proposal

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Wed, 1 Aug 2012 14:49:15 -0400

On Aug 1, 2012, at 12:30 PM, Bill Burke wrote:

> I really like this and think it should be included in PR.
>
> * Are you sure a list of contracts are needed to pass to register() method? instanceof and Class.isAssignableFrom() can figure this out.

 I think the idea is to optionally register a class with a subset of its contracts. If no contracts are specified, then they would all apply via the mechanism you describe.

-- Santiago

> On 8/1/12 10:08 AM, Marek Potociar wrote:
>> Hello experts,
>>
>> In an attempt to address multiple configuration-related issues in JAX-RS
>> Jira, I'd like to propose a following update to the API:
>> http://java.net/projects/jax-rs-spec/pages/CommonConfig
>>
>> Since we want to release a PR version of the API early next week, please
>> provide your feedback by tomorrow CoB, if possible. I'd like to include
>> the change in the PR release so that we can avoid such relatively
>> significant API disruption after the JAX-RS API 2.0-pr is released (if
>> possible).
>>
>> I apologise for a last minute notice. Of course, if you are not able to
>> review the proposal in the given short time-frame, we can incorporate
>> your feedback even after the PR is released.
>>
>> Thanks,
>> Marek
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com