Class DiningStartup
java.lang.Object
edu.ucsb.cs156.dining.startup.DiningStartup
This class contains a method that is called once at application startup time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled once at application startup time.
-
Constructor Details
-
DiningStartup
public DiningStartup()
-
-
Method Details
-
alwaysRunOnStartup
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void alwaysRunOnStartup()Called once at application startup time. Loads all emails in ADMIN_EMAILS into the Admin table, then launches a background job to load the current month's MenuItems.
-