| 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).
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncEventBus
An
EventBus that takes the Executor of your choice and uses it to dispatch events,
allowing dispatch to occur asynchronously. |
| Modifier and Type | Field and 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 |
| Modifier and Type | Method and Description |
|---|---|
EventBus |
SubscriberExceptionContext.getEventBus() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Subscriber |
Subscriber.create(EventBus bus,
java.lang.Object listener,
java.lang.reflect.Method method)
Creates a
Subscriber for method on listener. |
| Constructor and 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) |