users@jersey.java.net

Re: [Jersey] Re: automatic resource registration and guice

From: Christopher Piggott <cpiggott_at_gmail.com>
Date: Mon, 7 Jun 2010 16:31:33 -0400

I'm curious, in the first link (ProvidesTest.java) the resource class
gets its SecurityContext, UriInfo, etc. via @Inject (presumably guice)
rather than @Context (from jersey). Does something special have to
happen to make this work?


On Mon, Jun 7, 2010 at 3:19 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
> http://fisheye4.atlassian.com/browse/jersey/trunk/jersey/contribs/jersey-guice/src/test/java/com/sun/jersey/guice/AbstractGuiceGrizzlyTest.java?r=HEAD
>
> http://fisheye4.atlassian.com/browse/jersey/trunk/jersey/contribs/jersey-guice/src/test/java/com/sun/jersey/guice/ProvidesTest.java?r=HEAD