Class ServerDownMailSender

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<ome.util.messages.ShutdownMessage>

    public class ServerDownMailSender
    extends MailSender
    implements org.springframework.context.ApplicationListener<ome.util.messages.ShutdownMessage>
    Send an email to all members of the system group when the server is shutting down.
    • Constructor Detail

      • ServerDownMailSender

        public ServerDownMailSender()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(ome.util.messages.ShutdownMessage sm)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<ome.util.messages.ShutdownMessage>