@PropertySource("classpath:app-props.properties") @Configuration @ComponentScan(basePackageClasses = ArrayInjectionScanRefExample.class, useDefaultFilters = false, includeFilters = @ComponentScan.Filter( type = FilterType.ASSIGNABLE_TYPE, value = ArrayInjectionScanRefExample.class))
public class ArrayInjectionScanRefExample {
public static void main (String[] args) { AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext( ArrayInjectionScanRefExample.class);