Package edu.ucsb.cs156.courses.startup
Class CoursesApplicationRunnerProduction
java.lang.Object
edu.ucsb.cs156.courses.startup.CoursesApplicationRunnerProduction
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Configuration
@Profile("production")
public class CoursesApplicationRunnerProduction
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, development only
-
Constructor Details
-
CoursesApplicationRunnerProduction
public CoursesApplicationRunnerProduction()
-
-
Method Details
-
run
Called once at application startup time, development only- Specified by:
run
in interfaceorg.springframework.boot.ApplicationRunner
- Throws:
Exception
-