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

[jsr339-experts] Re: A Feature interface

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 28 Jun 2011 07:28:40 -0400

On 6/27/11 8:22 AM, Marek Potociar wrote:
> The assumption was that we need to be able to control the features up to the invocation level. Here's a potential use case:
>

Controlling features per request would rarely, if ever, be used, IMO.


> // All communication on this client is audited by default
> client.register(AuditingFilter.class);
>

By class isn't good enough as the filter may be a singleton that is
initialized.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com