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