Uses of Annotation Interface
com.google.common.eventbus.ElementTypesAreNonnullByDefault
Packages that use ElementTypesAreNonnullByDefault
Package
Description
Discouraged in favor of dependency injection and
concurrency frameworks, EventBus allows publish-subscribe-style communication.
-
Uses of ElementTypesAreNonnullByDefault in com.google.common.eventbus
Classes in com.google.common.eventbus with annotations of type ElementTypesAreNonnullByDefaultModifier and TypeClassDescription@interface
Marks an event subscriber method as being thread-safe.class
AnEventBus
that takes the Executor of your choice and uses it to dispatch events, allowing dispatch to occur asynchronously.class
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.(package private) class
Handler for dispatching events to subscribers, providing different event ordering guarantees that make sense for different situations.class
Dispatches events to listeners, and provides ways for listeners to register themselves.@interface
Marks a method as an event subscriber.(package private) class
A subscriber method on a specific object, plus the executor that should be used for dispatching events to it.class
Context for an exception thrown by a subscriber.interface
Handler for exceptions thrown by event subscribers.(package private) final class
Registry of subscribers to a single event bus.