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 +-