Spring中的CommandLineRunner、ApplicationRunner 接口
摘要:CommandLineRunner、ApplicationRunner 接口是在容器启动成功后的最后一步回调(类似开机自启动)。 CommandLineRunner接口 官方doc: Interface used to indicate that a bean should run when it
阅读全文
posted @ 2022-05-07 17:10