Spring / Spring Boot
Explain CommandLineRunner interface in Spring boot.
CommandLineRunner Interface is used to indicate that a bean should run when it is contained within a Spring application. Multiple CommandLineRunner beans can be defined within the same application context and can be ordered using the Ordered interface or @Order annotation.
More Related questions...