CommandLineRunner
0 人感兴趣 · 1 次引用
- 最新
- 推荐

使用 SpringBoot 的 CommandLineRunner 遇到的坑
再应用程序开发过程中,往往我们需要在容器启动的时候执行一些操作。Spring Boot 中提供了 CommandLineRunner 和 ApplicationRunner 两个接口来实现这样的需求。
0 人感兴趣 · 1 次引用
再应用程序开发过程中,往往我们需要在容器启动的时候执行一些操作。Spring Boot 中提供了 CommandLineRunner 和 ApplicationRunner 两个接口来实现这样的需求。