Class RequestTypeApplicationRunner

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

@Configuration public class RequestTypeApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
This class contains a `run` method that initializes RequestType entries at application startup.
  • Constructor Details

    • RequestTypeApplicationRunner

      public RequestTypeApplicationRunner(RequestTypeService requestTypeService)
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args) throws Exception
      Called once at application startup time. Delegates the initialization of RequestType table to the service.
      Specified by:
      run in interface org.springframework.boot.ApplicationRunner
      Throws:
      Exception