Class SystemMessagesService

java.lang.Object
edu.ucsb.cs156.courses.services.SystemMessagesService

@Service public class SystemMessagesService extends Object
Holds system messages (e.g. startup misconfiguration warnings) for the lifetime of the running process. Deliberately in-memory rather than persisted: a @Service bean is a Spring singleton by default, so this naturally starts empty on every process start with no explicit "clear on startup" step required, and -- should this app ever run multiple instances -- each instance reports its own diagnostics rather than a shared table conflating them.
  • Constructor Details

    • SystemMessagesService

      public SystemMessagesService()
  • Method Details