Reputation: 21
I set up this binding with Guice
bindConstant().annotatedWith( SecurityCookie.class ).to("JSESSIONID");
I need to migrate to Spring. What would be the equivalent code with Spring ?
Upvotes: 1
Views: 267
Reputation: 20663
Use FieldRetrievingFactoryBean.
Upvotes: 2