How, if possible can I configure a Spring bean with all a collection of other Spring beans that implements a specific interface?
Example: I want to wire the CarFactory
bean with a list of beans implementing the CarManufacturer
interface.
@Inject
private List<CarManufacturer> manufacturers;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With