public class NotificationListenerManager extends Object
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() |
public void broadcast(org.kie.internal.task.api.model.NotificationEvent event, org.kie.internal.task.api.UserInfo userInfo)
event
- notification event to be sentparams
- additional parameters see NotificationListener.onNotification for details.NotificationListener#onNotification(NotificationEvent, Object...)
public static NotificationListenerManager get()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.