Yes, @Inject private List configurers; works, and you get a list of all beans implementing the interface. (multiple variations - @Inject or @Autowired, field, setter or constructor injection - all work).
I've never been able to get field autowiring working, but good to know! – TK Kocheran Aug 16 at 18:58.
This should work: @Configurable(autowire=Autowire. BY_TYPE) public class Target { @Autowired public void setConfigurers(List configurers) { ... } } This is described in section 3.9.2 of the Spring manual: It is also possible to provide all beans of a particular type from the ApplicationContext by adding the annotation to a field or method that expects an array of that type ... The same applies for typed collections.
Unfortunately, this isn't working for me. I'm running Spring 3.0.1, I have configurable defined on my target class, autowired defined on my setter, load-time-weaving configured properly, configurer instances loaded in my application context, but no autowiring happens for this property, though other properties are autowired properly. Weird.
I can see that Spring is creating the configurer in my app-context, but when autowiring comes, it doesn't include it. Do I need more than one for it to work? – TK Kocheran Aug 19 at 1:07.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.