Tagged “Spring Boot CommandLineRunner”

Spring Boot - ApplicationRunner vs CommandLineRunner

17 Feb, 2017

Spring Boot provides two interfaces CommandLineRunner and ApplicationRunner to run specific piece of code when application is fully started. These interfaces get called just before run() on SpringApplication completes.

Tags:

See all tags.