Spring implements JSR 330 staring from Spring 3.0; the javax.inject annotations are supported too in the spring.
It seems that Autowire and Inject are doing the same in the spring;
So it looks that when auto-wiring a Provider, it should return a T type instance(scope = prototype? )
needs to go further to know
Spring - Using JSR 330 Provider to Inject Narrower Scoped Bean
No comments:
Post a Comment