public interface NotificationListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
handleNotification(Notification notification,
Object passback)
Invoked by the notifying bean when a notification is to
be delivered to the recipient.
|
void handleNotification(Notification notification, Object passback)
notification - the notification from the bean.passback - the object that was passed to the notifying
bean as part of the registration process.NotificationBroadcaster#addListener(NotificationListener,
NotificationFilter, Object)