Package ome.services.mail
Class ServerDownMailSender
- java.lang.Object
-
- ome.services.mail.MailSender
-
- ome.services.mail.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.
-
-
Field Summary
-
Fields inherited from class ome.services.mail.MailSender
log
-
-
Constructor Summary
Constructors Constructor Description ServerDownMailSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(ome.util.messages.ShutdownMessage sm)
-
Methods inherited from class ome.services.mail.MailSender
addUser, getAllSystemUsers, getDefaultBody, getExecutor, getMailUtil, getQueryService, getRoles, getSubjectPrefix, getUserEmail, isEnabled, sendBlind, sendBlind, setDefaultBody, setEnabled, setExecutor, setMailUtil, setQueryService, setRoles, setSubjectPrefix
-
-