更新时间:2023-12-03 23:49:28
https://github.com/Squarespace/jersey2-guice 似乎是针对Jersey 2的第一个真正的Guice集成,但它需要版本2.11 +.
https://github.com/Squarespace/jersey2-guice seems to be the first genuine Guice integration for Jersey 2 but it requires version 2.11+.
注意:我还没有测试过,但是这个想法很合理.
NOTE: I haven't tested this, but the idea is sound.