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

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

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Thu, 6 Sep 2012 14:49:15 +0200

Please check the user comment in the corresponding issue for the motivation:
http://java.net/jira/browse/JAX_RS_SPEC-61

Marek

On Sep 4, 2012, at 6:38 PM, Sergey Beryozkin <sberyozkin_at_talend.com> 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