users@jersey.java.net

[Jersey] Re: Jersey's limit with Spring injection

From: Michael-O <1983-01-06_at_gmx.net>
Date: Wed, 23 Apr 2014 22:43:33 +0200

Am 2014-04-17 16:26, schrieb Vetle Leinonen-Roeim:
> Hi,
>
> Take a look at this PR: https://github.com/jersey/jersey/pull/74
> The magic happens here:
> https://github.com/jersey/jersey/pull/74/files#diff-47955bde147a4194a7cd4541eceaca32R97
>
>
> This lets Spring itself resolve the injection, instead of detecting the
> various injection types manually.I added tests for the things I found
> not to work, and doing it this way seems to work better and inject
> properly in more cases. Feel free to suggest changes or additional tests.
>

Hi Vetle,

I have finally tried 2.8-SNAPSHOT, suprisingly handing off to Spring
works perfectly. Here is my modified version [1] of the Spring module.
I'd like to see the same multi-context support as in the DispatcherServlet.

Thanks,

Michael

[1] http://pastebin.com/Y07F1s1u