org.jbpm.services.task.deadlines.notifications.impl

## Class NotificationListenerManager

- java.lang.Object
- - org.jbpm.services.task.deadlines.notifications.impl.NotificationListenerManager

-     public class NotificationListenerManager
      extends Object

  Manages broadcasting of notification events to all found listeners

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `broadcast(org.kie.internal.task.api.model.NotificationEvent event, org.kie.internal.task.api.UserInfo userInfo)` Broadcast given event to all listeners independently meaning catches possible exceptions to avoid breaking notification by listeners
    `static NotificationListenerManager` | `get()`
    `void` | `registerAdditionalNotificationListener(List<NotificationListener> additionalNotificationListener)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### registerAdditionalNotificationListener

          public void registerAdditionalNotificationListener(List<NotificationListener> additionalNotificationListener)

    - #### broadcast

          public void broadcast(org.kie.internal.task.api.model.NotificationEvent event,
                                org.kie.internal.task.api.UserInfo userInfo)

      Broadcast given event to all listeners independently meaning catches possible exceptions to avoid breaking notification by listeners
      Parameters:
        `event` - notification event to be sent
        `params` - additional parameters see NotificationListener.onNotification for details.
      See Also:
        `NotificationListener#onNotification(NotificationEvent, Object...)`

    - #### get

          public static NotificationListenerManager get()

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.