泽西岛2.26和春季4.3.10但没有HK2 [英] Jersey 2.26 and Spring 4.3.10 but no HK2

查看:106
本文介绍了泽西岛2.26和春季4.3.10但没有HK2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以配置Jersey 2.26.x,它完全取决于注射用Spring而不是HK2?我知道Jersey现在与Spring兼容,但它是否也可以完全摆脱HK2?

Is it possible to configure Jersey 2.26.x that it solely depends on Spring for injection instead of HK2? I know Jersey is nowadays compatible with Spring, but is it also possible to get completely rid of HK2?

推荐答案

不,它不是'吨。 Jersey使用hk2的许多特殊功能(例如与Spring和Guice的良好集成)以便运行

No it isn't. Jersey uses many special features of hk2 (such as good integration with Spring and Guice) in order to function

这篇关于泽西岛2.26和春季4.3.10但没有HK2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆