[JERSEY-1957] Implement Spring integration for Jersey 2 - Java.net JIRA
This issue has been discussed on the Jersey users mailing list during 2013 may-july.
The following functional requirements were specified for Jersey Spring integration:
- inject Spring beans into jersey JAX-RS resource classes and providers (filters, interceptors, ...)
- injection by @Autowire
- injection by @Inject
- allow JAX-RS resource classes and providers to be managed by Spring instead of Jersey
- inject Jersey injections into the Spring managed JAX-RS resource classes and providers (these mentioned in point 2)
- inject by @Inject and @Context (this is needed as resource classes must still be compliant with JAX-RS spec which allows injection of JAX-RS providers be these annotations). This means Spring managed beans will support these injections.
- and of course allow standard Spring injection for these Spring managed beans with @Autowire, definition by xml (applicationContext.xml), @Inject
Read full article from [JERSEY-1957] Implement Spring integration for Jersey 2 - Java.net JIRA
No comments:
Post a Comment