users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Is ParamConverterProvider needed ?

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 04 Sep 2012 13:24:59 -0400

The provider allowa you to trigger a ParamConverter base on an applied
annotation, no?

Generic type information can be obtained by introspecting the class.

On 9/4/2012 12:38 PM, Sergey Beryozkin wrote:
> Hi
>
> We have ParamConverterProvider and ParamConverter, I wonder do we really
> need the former ?
>
> Example, individual ExceptionMapper implementations can be registered as
> providers, why should ParamConverter implementations be created
> indirectly via ParamConverterProvider ?
>
> I can see ParamConverterProvider allows to find the providers for
> arguments like "List<Book>" - but do we really need it ?
>
> Sergey

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