Uses of Class
com.google.common.eventbus.EventBus
-
Packages that use EventBus Package Description com.google.common.eventbus The EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other). -
-
Uses of EventBus in com.google.common.eventbus
Subclasses of EventBus in com.google.common.eventbus Modifier and Type Class Description class
AsyncEventBus
AnEventBus
that takes the Executor of your choice and uses it to dispatch events, allowing dispatch to occur asynchronously.Fields in com.google.common.eventbus declared as EventBus Modifier and Type Field Description private EventBus
Subscriber. bus
The event bus this subscriber belongs to.private EventBus
SubscriberRegistry. bus
The event bus this registry belongs to.private EventBus
SubscriberExceptionContext. eventBus
Methods in com.google.common.eventbus that return EventBus Modifier and Type Method Description EventBus
SubscriberExceptionContext. getEventBus()
Methods in com.google.common.eventbus with parameters of type EventBus Modifier and Type Method Description (package private) static Subscriber
Subscriber. create(EventBus bus, java.lang.Object listener, java.lang.reflect.Method method)
Creates aSubscriber
formethod
onlistener
.Constructors in com.google.common.eventbus with parameters of type EventBus Constructor Description Subscriber(EventBus bus, java.lang.Object target, java.lang.reflect.Method method)
SubscriberExceptionContext(EventBus eventBus, java.lang.Object event, java.lang.Object subscriber, java.lang.reflect.Method subscriberMethod)
SubscriberRegistry(EventBus bus)
SynchronizedSubscriber(EventBus bus, java.lang.Object target, java.lang.reflect.Method method)
-