users@jersey.java.net

WebApplication.addInjectable gone

From: Martin Probst <mail_at_martin-probst.com>
Date: Thu, 31 Jul 2008 12:27:05 +0200

Hi,

I probably missed the memo - when upgrading to Jersey-0.9-ea I found
out that WebApplication.addInjectable is missing now.

I used to use this method to register instances of - more or less -
singleton classes that need to be injected with the web application.

So my question is: if I have a single instance of a certain class, how
to I provide this so that it can be injected into all my resource
classes? It appears I have to use a provider in some way - is there
any documentation on this?

Thanks,
Martin