users@jersey.java.net

[Jersey] Injecting Request Scoped Object into a ResourceFilter

From: <calvinkrishy_at_gmail.com>
Date: Mon, 19 Dec 2011 03:30:34 +0000 (GMT)

I would like my per-request injectable provider to inject instances
into my resource filters. Given that resource filters are singletons,
what is the recommended way of achieving this?

The injectable provider is used to extract some path params and convert
them into domain objects. I would like to use the resource filters to
perform some validation on those objects before the resources start
consuming them hence the question...

Thanks!