摘要:
ApplicationContextInitializer SpringApplicationRunListener 以上两个起作用,必须配置在resources下META-INF/spring.factories ApplicationRunner CommandLineRunner 阅读全文
摘要:
public ConfigurableApplicationContext run(String... args) { StopWatch stopWatch = new StopWatch(); stopWatch.start(); ConfigurableApplicationContext c 阅读全文
摘要:
几个重要的事件回调机制 配置在META-INF/spring.factories ApplicationContextInitializer SpringApplicationRunListener 只需要放在ioc容器中 ApplicationRunner **CommandLineRunner* 阅读全文