EventBus addon for GuiceVaadin
#Eventbus addon for Guice-Vaadin
this addon provides integration of the Guava EventBus into Guice-Vaadin. SessionEventBus and UIEventBus can be used as-is, these are Guava implementations that are scoped with @VaadinSessionScope and @UIScope respectively.
class MyButton extends Button {
@Inject
UIEventBus uiEventBus;
Button(){
addClickHandler(e -> uiEventBus.post(new MyButtonWasClickedEvent());
}
}
Install
Framework Support
Install with
Release notes - Version 2.0.1-vaadin10
eventbus for vaadin 10