users@jersey.java.net

[Jersey] Custom proxiable types

From: Gustavo Garcia <ggb_at_tokbox.com>
Date: Thu, 4 Sep 2014 23:32:55 -0700

Hi all,

Is it possible to create my own custom proxiable types to be injected in
Singleton Resources while keeping them RequestScoped? (like the
SecurityContext but for my own objects)

The only way I have found is injecting the Provider<CustomContext> instead
of just the CustomContext, but it is not as clean as with proxiable
contexts.

Thx a lot,