@NoImplement public interface ServerNotificationHandler
Modifier and Type | Method and Description |
---|---|
void |
fireNotification(Notification notification)
Fire the
Notification . |
boolean |
isListenerRegistered(NotificationListener listener) |
boolean |
isNotificationDynamic() |
boolean |
isNotificationEnabled(Class<? extends Notification> notfnClass)
This returns a very "conservative" value - it is true if the notification or any subclass would be accepted.
|
void fireNotification(Notification notification)
Notification
. Regardless of if a notification is fired synchronously or asynchronously any Throwable
thrown by the NotificationListener
will not be propagated.notification
- the notification to fire.boolean isNotificationDynamic()
boolean isListenerRegistered(NotificationListener listener)
boolean isNotificationEnabled(Class<? extends Notification> notfnClass)
notfnClass
- Either the notification class being generated or some superclassCopyright © 2018. All rights reserved.