[jax-rs-spec users] [jsr339-experts] Re: Issues with Configurable and Configuration

From: Marek Potociar <>
Date: Fri, 8 Mar 2013 16:52:35 +0100

On Mar 7, 2013, at 11:34 PM, Bill Burke <> wrote:

> #1 Do you really want somebody calling replaceWith() within Feature.configure() or DynamicFeature.configure()? IMO, replaceWith() should be moved to ClientBuilder, Client and WebTarget and not be part of Configurable. (Or even removed from the API and deferred to a later release)

I'm fine with making it part of client component APIs. I'm strongly against removing from the API. Your issue has been targeted for 2.0.

> #2 Another question I have is about Configuration.getInstances() and Configuration.getClasses(). Do these return providers registered through features? I would say no.

I'd say that yes (as long as the features have been configured already).


> --
> Bill Burke
> JBoss, a division of Red Hat