Uses of Interface
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
-
-
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging
Methods in com.broadleafcommerce.common.messaging with parameters of type NotificationStateAware Modifier and Type Method Description void
PersistenceMessageAckedHandler. afterSuccessfulAcknowledgement(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository)
A hook point intended to allow implementations to perform some behavior after aPersistenceMessage
has been successfully sent and theNotificationState
has been marked as acknowledged.void
PersistenceMessageNotificationHandler. afterSuccessfulAcknowledgement(@NonNull Object nativeId, @NonNull NotificationStateAware notificationStateAware, NotificationStateRepository repository)
Invokes eachPersistenceMessageAckedHandler
. -
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging.notification
Methods in com.broadleafcommerce.common.messaging.notification that return NotificationStateAware Modifier and Type Method Description protected NotificationStateAware
DefaultNotificationHandler. unwrapNotificationState(NotificationStateAware notifiable)
Methods in com.broadleafcommerce.common.messaging.notification that return types with arguments of type NotificationStateAware Modifier and Type Method Description Stream<NotificationStateAware>
NotificationStateRepository. findNotificationReadyMembers(Object lastProcessedNativeId, int pageSize, String messageType, Duration faultThreshold, Class<?> entityType)
Find any entity instances that are unacknowledged and qualified for retry for message sending.Methods in com.broadleafcommerce.common.messaging.notification with parameters of type NotificationStateAware Modifier and Type Method Description default void
NotificationHandler. afterSuccessfulAcknowledgement(Object nativeId, NotificationStateAware notificationStateAware, NotificationStateRepository repository)
A hook point intended to allow implementations to perform some behavior after a message has been successfully sent and theNotificationState
has been marked as acknowledged.protected org.springframework.messaging.Message<?>
DefaultNotificationHandler. createMessageSafely(NotificationStateAware notifiable, NotificationState state)
protected Supplier<org.springframework.messaging.Message<?>>
DefaultNotificationHandler. createMessageSupplier(NotificationStateAware notifiable, NotificationState state)
NotificationState
DefaultNotificationStateService. getOrInitializeNotificationState(NotificationStateAware stateAware, String name)
NotificationState
NotificationStateService. getOrInitializeNotificationState(NotificationStateAware stateAware, String name)
Search theNotificationState
on theNotificationStateAware
by its name.NotificationHandlerResponse
DefaultNotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String requestedType)
void
DefaultNotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)
NotificationHandlerResponse
NotificationHandler. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)
Notify the system in some way about the state change for the notifiable param.void
NotificationManager. handle(NotificationStateRepository repo, NotificationStateAware notifiable, String messageType)
Notify the system in some way about the state change for the notifiable param.protected boolean
DefaultNotificationHandler. notify(NotificationStateAware notifiable, NotificationState state, NotificationStateRepository repository)
Validate the state requires notification, and if so, send the notification.protected NotificationStateAware
DefaultNotificationHandler. unwrapNotificationState(NotificationStateAware notifiable)
-
Uses of NotificationStateAware in com.broadleafcommerce.common.messaging.notification.domain
Constructors in com.broadleafcommerce.common.messaging.notification.domain with parameters of type NotificationStateAware Constructor Description InternalPersistenceEvent(NotificationStateAware notifiable)
-