摘要:
ApplicationContextInitializer SpringApplicationRunListener 以上两个起作用,必须配置在resources下META-INF/spring.factories ApplicationRunner CommandLineRunner 阅读全文
posted @ 2019-04-21 21:04
MagicAsa
阅读(557)
评论(0)
推荐(0)
摘要:
public ConfigurableApplicationContext run(String... args) { StopWatch stopWatch = new StopWatch(); stopWatch.start(); ConfigurableApplicationContext c 阅读全文
posted @ 2019-04-21 15:48
MagicAsa
阅读(2129)
评论(0)
推荐(0)
摘要:
几个重要的事件回调机制 配置在META-INF/spring.factories ApplicationContextInitializer SpringApplicationRunListener 只需要放在ioc容器中 ApplicationRunner **CommandLineRunner* 阅读全文
posted @ 2019-04-21 15:02
MagicAsa
阅读(772)
评论(0)
推荐(0)
浙公网安备 33010602011771号