Package edu.ucsb.cs156.rec
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.springframework.boot.ApplicationArguments args) Called once at application startup time.
-
Constructor Details
-
RequestTypeApplicationRunner
-
-
Method Details
-
run
Called once at application startup time. Delegates the initialization of RequestType table to the service.- Specified by:
run
in interfaceorg.springframework.boot.ApplicationRunner
- Throws:
Exception
-