public class EventBusModule
extends com.google.inject.AbstractModule
EventBus instance. Publishers should inject event bus for posting events.
Listeners must only define method with event as argument and annotated with Subscribe. All guice beans
with annotated methods registered automatically.guice bean registered for programmatic subscribers info access| Constructor and Description |
|---|
EventBusModule(com.google.common.eventbus.EventBus eventbus,
com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> typeMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding