Hi Gili,
On Wed, 2008-10-01 at 22:40 -0700, Gili wrote:
> Paul,
>
> I'm trying to use the Spring-Jersey bridge as a model for the Guice one...
>
> It looks like SpringResourceProvider.java:194 falls back on Jersey's
> built-in resource providers whenever possible. Why is that? Why doesn't it
> simply use Spring to inject all resources?
Be aware that there's a difference between SpringResourceProvider and
the SpringComponentProvider (SpringServlet.SpringComponentProvider).
The SpringResourceProvider is just there to read the scope
(Request/Singleton) from spring annotations if there's no jersey
lifecycle annotation present.
For integrating guice the SpringServlet/SpringComponentProvider should
be the starting point.
Cheers,
Martin
>
> Thanks,
> Gili