@Service(name="notification-service") @RunLevel(value=10) public class NotificationService extends Object implements EventListener, 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() |
UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changed
|
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 UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
ConfigListenerchanged in interface ConfigListenerevents - list of changesCopyright © 2019. All rights reserved.