开发者

How can Guice annotated injections be converted to Spring dependency injection

I set up this binding with Guice

bindConstant().annotatedWith( SecurityCookie.class ).to("JSESSIONID");

I need to migrate to Spring. What would be the e开发者_运维知识库quivalent code with Spring ?


Use FieldRetrievingFactoryBean.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜