Class ComponentInstanceEventNotifier
- java.lang.Object
-
- org.silverpeas.core.notification.system.CDIResourceEventNotifier<ComponentInst,ComponentInstanceEvent>
-
- org.silverpeas.core.admin.component.notification.ComponentInstanceEventNotifier
-
- All Implemented Interfaces:
ResourceEventNotifier<ComponentInst,ComponentInstanceEvent>
@Bean public class ComponentInstanceEventNotifier extends CDIResourceEventNotifier<ComponentInst,ComponentInstanceEvent>
A notifier of an event about the life-cycle of a component instance. The event is triggered synchronously, meaning it will block until the treatment of the listeners of such events is done.This class is defined for the unmanaged beans requiring access the services exposed by the underlying IoD bean container.
- Author:
- mmoquillon
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComponentInstanceEvent
createResourceEventFrom(ResourceEvent.Type type, ComponentInst... resource)
static ComponentInstanceEventNotifier
getNotifier()
Gets an instance of this event notifier.-
Methods inherited from class org.silverpeas.core.notification.system.CDIResourceEventNotifier
notify, notifyEventOn
-
-
-
-
Method Detail
-
getNotifier
public static ComponentInstanceEventNotifier getNotifier()
Gets an instance of this event notifier.- Returns:
- a notifier of events about the life-cycle of component instances.
-
createResourceEventFrom
protected ComponentInstanceEvent createResourceEventFrom(ResourceEvent.Type type, ComponentInst... resource)
- Specified by:
createResourceEventFrom
in classCDIResourceEventNotifier<ComponentInst,ComponentInstanceEvent>
-
-