users@jersey.java.net

[Jersey] How to configure request filters with Guice?

From: Jochen <jochen3941_at_gmail.com>
Date: Thu, 27 Oct 2011 05:30:24 +0200

Hi,

I'm using jersey-guice, and need to add some filters to my Jersey
WebApplication. How can I configure these with Guice? I had a look at
FilterFactory.init, which calls ProviderServices.getServices, but this
only runs the "normal" service discovery mode. I noticed there's an
OSGIServiceFinder, but none for Guice. Do I need to implement my own
ServiceFinder?

Regards,
Jochen