Michael-O
2014-04-23 20:43:33 UTC
Hi,
Take a look at this PR: https://github.com/jersey/jersey/pull/74
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,Take a look at this PR: https://github.com/jersey/jersey/pull/74
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.
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