Hi,
I like the @Autowired approach for list items
I wonder what's the order of the injected items? Does it relate to the order of .jar loadings (i.e. classpath order)? Or maybe the order of the context definition loading resolves to the final order?Code:@Component class Foo{ @Autowired List<MyObject> items; } @Component class A implements MyObject{} @Component class B MyObject{}
Looking at http://jira.springframework.org/browse/SPR-5574 an expliticly user-defined order is not supported.
thanks


Reply With Quote