Class StmpNotifications
java.lang.Object
com.tremolosecurity.notifications.StmpNotifications
- All Implemented Interfaces:
NotificationSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the notification systemvoid
sendMessage
(SmtpMessage msg) Sends a message using this systemvoid
shutdown()
Called on shutdown of the system
-
Constructor Details
-
StmpNotifications
public StmpNotifications()
-
-
Method Details
-
init
Description copied from interface:NotificationSystem
Initializes the notification system- Specified by:
init
in interfaceNotificationSystem
- Parameters:
name
- Name of the notificationconfig
- notification configuration- Throws:
Exception
-
shutdown
Description copied from interface:NotificationSystem
Called on shutdown of the system- Specified by:
shutdown
in interfaceNotificationSystem
- Throws:
Exception
-
sendMessage
Description copied from interface:NotificationSystem
Sends a message using this system- Specified by:
sendMessage
in interfaceNotificationSystem
- Parameters:
msg
-- Throws:
Exception
-