Closed denis-anisimov closed 2 years ago
See https://github.com/vaadin/cdi/blob/master/vaadin-cdi-itest/src/main/java/com/vaadin/cdi/itest/service/EventObserver.java This functionality should be available for Quarkus. It should be possible just have a method with a @Observes parameters and receive events SessionInitEvent, SessionDestroyEvent, UIInitEvent.
@Observes
SessionInitEvent
SessionDestroyEvent
UIInitEvent
VaadinServiceDestroyEvent is already implemented as a part of VaadinServiceScope.
VaadinServiceDestroyEvent
See https://github.com/vaadin/cdi/blob/master/vaadin-cdi-itest/src/main/java/com/vaadin/cdi/itest/service/EventObserver.java This functionality should be available for Quarkus. It should be possible just have a method with a
@Observes
parameters and receive eventsSessionInitEvent
,SessionDestroyEvent
,UIInitEvent
.VaadinServiceDestroyEvent
is already implemented as a part of VaadinServiceScope.