Event Listeners and the Event Bus.See: Description
| Interface | Description |
|---|---|
| ErrorHandler |
Interface of the error handler that will be invoked if event processing fails.
|
| EventBus |
Specification of the mechanism on which the Event Listeners can subscribe for events and event publishers can publish
their events.
|
| EventHandlerInvoker |
Interface for an event message handler that defers handling to one or more other handlers.
|
| EventListener |
Interface to be implemented by classes that can handle events.
|
| EventListenerProxy |
Specialist interface for implementations of an event listener that redirect actual processing to another instance.
|
| EventMessage<T> |
Represents a Message wrapping an Event, which is represented by its payload.
|
| EventProcessingStrategy |
Interface describing a strategy for the processing of a batch of events.
|
| EventProcessor |
An Event Processor processes event messages from an event queue or event bus.
|
| EventTrackerStatus |
Interface describing the status of a Segment of a TrackingProcessor.
|
| ListenerInvocationErrorHandler |
Interface of an error handler that is invoked when an exception is triggered as result of an
EventListener
handling an event. |
| TrackedEventMessage<T> |
Represents an
EventMessage containing a TrackingToken. |
| WrappedToken |
Interface making a token that wraps another token.
|
| Class | Description |
|---|---|
| AbstractEventBus |
Base class for the Event Bus.
|
| AbstractEventProcessor |
Abstract implementation of an
EventProcessor. |
| AnnotationEventListenerAdapter |
Adapter that turns any bean with
EventHandler annotated methods into an EventListener. |
| ConcludesBatchParameterResolverFactory |
Paramater resolver factory for boolean event handler parameters annotated with
ConcludesBatch. |
| ErrorContext |
Describes the context of an error.
|
| GenericEventMessage<T> |
Generic implementation of the EventMessage interface.
|
| GenericTrackedEventMessage<T> |
Generic implementation of a
TrackedEventMessage. |
| LoggingErrorHandler |
Implementation of a
ListenerInvocationErrorHandler that logs exceptions as errors but otherwise does nothing to
prevent event handling from continuing. |
| MultiEventHandlerInvoker |
Implementation of
EventHandlerInvoker with capabilities to invoke several different invokers. |
| ReplayToken |
Token keeping track of the position before a reset was triggered.
|
| ResetTriggeredEvent |
Event Payload used to trigger reset handlers.
|
| Segment |
A representation of a segment and corresponding mask with various capabilities.
|
| SimpleEventBus |
Implementation of the
EventBus that supports streaming of events via SimpleEventBus.openStream(TrackingToken) but
only of the most recently published events as it is not backed by a cache or event storage. |
| SimpleEventHandlerInvoker |
Implementation of an
EventHandlerInvoker that forwards events to a list of registered EventListeners. |
| SubscribingEventProcessor |
Event processor implementation that
subscribes to the EventBus for
events. |
| TimestampParameterResolverFactory | |
| TrackingEventProcessor |
EventProcessor implementation that tracks events from a
StreamableMessageSource. |
| TrackingEventProcessorConfiguration |
Configuration object for the
TrackingEventProcessor. |
| Enum | Description |
|---|---|
| DirectEventProcessingStrategy |
Event processing strategy that directly initiates event processing.
|
| PropagatingErrorHandler |
Singleton ErrorHandler implementation that does not do anything.
|
| ReplayStatus |
Type that can be used as parameter of Event Handler methods that indicates whether a message is delivered as part of
a replay, or in regular operations.
|
| ThrowingListenerErrorHandler | Deprecated
Instead of this implementation, use
PropagatingErrorHandler. |
| TrackingEventProcessor.State |
Enum representing the possible states of the Processor
|
| Exception | Description |
|---|---|
| EventProcessingException |
Exception thrown when an
EventProcessor failed to handle a batch of events. |
| ResetNotSupportedException |
Exception indicating that a reset is not supported by a component.
|
| TransactionMethodExecutionException |
Wrapper for exceptions that occurred while calling an @BeforeTransaction or @AfterTransaction annotated method.
|
| Annotation Type | Description |
|---|---|
| AllowReplay |
Annotation marking a Handler (or class) as being capable of handling replays, or not, depending on the value
passed.
|
| ConcludesBatch |
Annotation indication that a parameter on an
EventHandler method should be
injected with a value that informs whether the event is the last event of a processed batch of events. |
| EventHandler |
Annotation to be placed on methods that can handle events.
|
| ResetHandler |
Annotation that can be placed on a method that is to be invoked when a reset is being prepared.
|
| Timestamp |
Annotation indication that a parameter on an Event Handler method should be injected with the Timestamp of an Event
Message.
|
Event Listeners and the Event Bus.Copyright © 2010–2018. All rights reserved.