users@jersey.java.net

[Jersey] Re: What happened to SingletonTypeInjectableProvider?

From: algermissen1971 <algermissen1971_at_mac.com>
Date: Thu, 31 Jan 2013 09:47:15 +0100

On 31.01.2013, at 09:32, algermissen1971 <algermissen1971_at_mac.com> wrote:

> Hi,
>
> I am looking for a way to inject my own Singletons using @Context. In Jersey 1.x there was SingletonTypeInjectableProvider. But it seems 2.x dropped that.
>
> Or is that in a package that is not covered by the Jersey 2 API Docs and I need to look elsewhere?

Aha - I see you now use HK2. Then ... is there maybe an example describing how to write my own context providers based on Jersey's basics?

Jan

>
> Jan