On 06/28/2011 01:28 PM, Bill Burke wrote:
> On 6/27/11 8:22 AM, Marek Potociar wrote:
>
>> // 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.
>
>
That was just for the sake of the example. Obviously the current API has also the register(Object) method for singleton
providers. We would support singleton providers too, of course.
Marek