Class ExampleApplicationRunner

java.lang.Object
edu.ucsb.cs156.rec.ExampleApplicationRunner
All Implemented Interfaces:
org.springframework.boot.ApplicationRunner

@Configuration public class ExampleApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
This class contains a `run` method that is called once at application startup time.
  • Constructor Details

    • ExampleApplicationRunner

      public ExampleApplicationRunner()
  • 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