@Service(name="notification-service") @RunLevel(value=10) public class NotificationService extends Object implements EventListener, org.jvnet.hk2.config.ConfigListener
#notify(NotificationEvent) method used by services, which needs disseminating notifications.EventListener.Event<T>| Constructor and Description |
|---|
NotificationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrapNotificationService() |
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events) |
void |
event(EventListener.Event event)
Process a Glassfish/Payara event
|
NotificationExecutionOptions |
getExecutionOptions() |
void |
notify(EventSource source,
NotificationEvent notificationEvent) |
public void event(EventListener.Event event)
EventListenerevent in interface EventListenerpublic void bootstrapNotificationService()
public void notify(EventSource source, NotificationEvent notificationEvent)
public NotificationExecutionOptions getExecutionOptions()
public org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerCopyright © 2017. All rights reserved.