Package edu.ucsb.cs156.courses
Class CoursesApplicationRunner
java.lang.Object
edu.ucsb.cs156.courses.CoursesApplicationRunner
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Configuration
public class CoursesApplicationRunner
extends Object
implements org.springframework.boot.ApplicationRunner
This class contains a `run` method that is called once at application startup time.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.springframework.boot.ApplicationArguments args) Called once at application startup time.
-
Constructor Details
-
CoursesApplicationRunner
public CoursesApplicationRunner()
-
-
Method Details
-
run
Called once at application startup time. Put code here if you want it to run once each time the Spring Boot application starts up.- Specified by:
run
in interfaceorg.springframework.boot.ApplicationRunner
- Throws:
Exception
-