随笔分类 -  Spring

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

posted @ 2022-05-07 17:10 潘大炮 阅读(532) 评论(0) 推荐(0)