users@jersey.java.net

Re: [Jersey] ServletContainer: Specify packages *and* application?

From: Chris Hubick <chris_at_hubick.com>
Date: Tue, 10 Nov 2009 10:12:59 -0700

On Tue, 2009-11-10 at 11:09 +0100, Paul Sandoz wrote:
> I verified that it works. See attached for a simple maven project.
>
> On Nov 10, 2009, at 10:30 AM, Paul Sandoz wrote:
> > You can add the fully qualified name of the InjectableProvider class
> > to the following file:
> >
> > META-INF/services/jersey-server-components
> >
> > located in WEB-INF/classes or in an appropriate jar file included in
> > WEB-INF/lib.

Paul, this was just what I was looking for, and worked fantastic for me.

Archival note - multiple provider classes are listed one-per-line in
that file (not semicolon delimited).

Thanks so much!

-- 
Chris Hubick
mailto:chris_at_hubick.com
http://www.hubick.com/chris/