@Component public class NotificationMessageManager extends Object
| Constructor and Description |
|---|
NotificationMessageManager() |
| Modifier and Type | Method and Description |
|---|---|
List<NotificationMessage> |
buildNotificationMessages(NotificationEvent notificationEvent)
Builds a list of notification messages for the event.
|
Map<Class<?>,NotificationMessageBuilder> |
getEventTypeNotificationMessageBuilderMap()
Get the event type to notification message builder map
|
void |
populateEventTypeNotificationMessageBuilderMap()
Build the event type to message builder map.
|
@PostConstruct public void populateEventTypeNotificationMessageBuilderMap()
public Map<Class<?>,NotificationMessageBuilder> getEventTypeNotificationMessageBuilderMap()
public List<NotificationMessage> buildNotificationMessages(NotificationEvent notificationEvent)
notificationEvent - the notification eventCopyright © 2021. All rights reserved.