Interface | Description |
---|---|
HandlerFinder |
Finds producer and subscriber methods.
|
ThreadEnforcer |
Enforces a thread confinement policy for methods on a particular event bus.
|
Class | Description |
---|---|
AnnotatedHandlerFinder | |
Bus |
Dispatches events to listeners, and provides ways for listeners to register themselves.
|
DeadEvent |
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
|
EventHandler |
Wraps a single-argument 'handler' method on a specific object.
|
EventProducer |
Wraps a 'producer' method on a specific object.
|
SubscriberHandlerFinder |
Annotation Type | Description |
---|---|
Produce |
Marks a method as an instance producer, as used by
AnnotatedHandlerFinder and Bus . |
Subscribe |
Marks a method as an event handler, as used by
AnnotatedHandlerFinder and Bus . |