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 Details

    • CoursesApplicationRunner

      public CoursesApplicationRunner()
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args) throws Exception
      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 interface org.springframework.boot.ApplicationRunner
      Throws:
      Exception