Spring: Autowire All Beans of an Interface into a List, Set, or Map
How to inject every Spring bean that implements an interface into one field: a List or array (ordered with @Order), a Set, or a Map<String, T> keyed by bean name. Working, copy-paste code for each.