Class CDIServerEventNotifier<T extends AbstractServerEvent>
- java.lang.Object
-
- org.silverpeas.core.notification.sse.CDIServerEventNotifier<T>
-
- Type Parameters:
T
- the type of the handledServerEvent
.
- All Implemented Interfaces:
ServerEventNotifier<T>
- Direct Known Subclasses:
DefaultServerEventNotifier
public abstract class CDIServerEventNotifier<T extends AbstractServerEvent> extends Object implements ServerEventNotifier<T>
A synchronousServerEvent
notifier using the notification bus of CDI. This bus is based on the Observer pattern but by using the annotations in place of code lines to setup listeners and so on. All synchronous notifiers should extend this class; they have just to little parametrization, the notification itself is performed by this abstract class.- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description CDIServerEventNotifier()
-
-
-
Method Detail
-
notify
public final void notify(T event)
- Specified by:
notify
in interfaceServerEventNotifier<T extends AbstractServerEvent>
-
-