Spring autowiring order and @PostConstruct
问题 I have a question about auto-wiring order and @PostConstruct logic in Spring. For example following demo code I have a main Spring Boot class: @SpringBootApplication public class Demo1Application { @Autowired BeanB beanb; public static void main(String[] args) { SpringApplication.run(Demo1Application.class, args); } } and 2 @Service Definitions: @Service public class BeanB { @Autowired private BeanA beana ; @PostConstruct public void init(){ System.out.println("beanb is called"); } public