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.
精彩评论