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

[jsr339-experts] Re: [jax-rs-spec users] Are Configurable interface getters needed ?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 28 Sep 2012 11:01:04 -0700

It would be good if we all knew which getters in particular are we talking about. Can you provide a list?

In general, getters are there to provide a way for features to be able to selectively choose to get enabled or not based on an existing configuration state.

Marek


On Sep 26, 2012, at 2:59 PM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> Hi,
>
> while experimenting with DynamicFeature, I found an internal Configurable implementation having a number of getters (getProviderClasses, etc) not implemented because it was not really needed.
>
> My understanding Configurable is what an implementer of a given feature/etc sees and updates. The question is, are the getters currently available on the interface really needed ? Just wonder if we can simplify this interface a bit...
>
> Sergey