Package edu.ucsb.cs156.courses.startup
Class CoursesStartup
java.lang.Object
edu.ucsb.cs156.courses.startup.CoursesStartup
This class contains a `run` method that is called once at application startup time.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called once at application startup time .void
Called once at application startup time .
-
Constructor Details
-
CoursesStartup
public CoursesStartup()
-
-
Method Details
-
alwaysRunOnStartup
public void alwaysRunOnStartup()Called once at application startup time . Put code here if you want it to run once each time the Spring Boot application starts up in all environments. -
runOnStartupInProductionOnly
public void runOnStartupInProductionOnly()Called once at application startup time . Put code here if you want it to run once each time the Spring Boot application starts up but only in production.
-