Interface PayaraNotifier
-
- All Known Implementing Classes:
CDIEventbusNotifierService,EventbusNotifierService,JmsNotifierService,LogNotifier,PayaraConfiguredNotifier
@Contract public interface PayaraNotifierA contract for a service representing a dynamic PayaraNotifier with no domain.xml configuration. For a notifier with domain.xml configuration seePayaraConfiguredNotifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidbootstrap()Initialise any required properties.default voiddestroy()Destroy any objects before configuration values are changed.voidhandleNotification(PayaraNotification event)Receive notifications from the notification service.default voidtryHandleNotification(PayaraNotification event)Receives a notification and processes if certain conditions are met.
-
-
-
Method Detail
-
tryHandleNotification
default void tryHandleNotification(PayaraNotification event)
Receives a notification and processes if certain conditions are met.- Parameters:
event- The notification.
-
handleNotification
void handleNotification(PayaraNotification event)
Receive notifications from the notification service.- Parameters:
event- the notification
-
bootstrap
default void bootstrap()
Initialise any required properties. Called when the notifier is initialised, or configuration values are changed.
-
destroy
default void destroy()
Destroy any objects before configuration values are changed. Called when the server shuts down or before the notifier is reinitialised.
-
-