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