users@jersey.java.net

Re: [Jersey] Jackson JAX-RS json provider v 0.9.9-6 (read: 1.0 RC) released

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Mon, 4 May 2009 10:34:52 -0700

On Mon, May 4, 2009 at 2:36 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
> On Apr 29, 2009, at 7:50 PM, Tatu Saloranta wrote:
>
>> ...
>>
>> Another related question is wheter jackson-jaxrs jar should even have
>> the META-INF/services entries. While convenient (saving one or two
>> lines of code or config), I don't know if there's a way to disable it.
>
> No, there is currently no way to disable it.
>
> In this respect it may be best for explicit registration, to avoid any silly
> head scratching with classpath order.

Ok. I'll have to think about that. I may just build 2 separate
artifacts, one with auto-registration, other without.

But as per our other discussion, it sounds like it is still possible
to override registered reader/writer (with the usual addition of root
providers).
So at least it is possible to modify default behavior of such
providers; which is important if provider object itself is directly
configurable.

-+ Tatu +-