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

From: Bill Burke <>
Date: Thu, 07 Mar 2013 17:34:28 -0500

#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

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

Bill Burke
JBoss, a division of Red Hat