Package-level declarations

This package provides classes for server-side event processing.

Types

Link copied to clipboard
An abstract base for all classes that may produce events in response to other events.
Link copied to clipboard
The abstract base for objects that can be subscribed to receive events from EventBus.
Link copied to clipboard
public abstract class AbstractStatefulReactor<I, S extends Message, B extends ValidatingBuilder<S>> extends AbstractEventReactor
An abstract base for AbstractEventReactors which have state and require delivering the messages through an Inbox.
Link copied to clipboard
public final class DelegatingEventDispatcher implements EventDispatcher
A EventDispatcher which delegates the responsibilities to an aggregated delegate instance.
Link copied to clipboard
public final class EventBus extends MulticastBus<M, E, C, D> implements ContextAware
Dispatches incoming events to subscribers and provides ways for registering those subscribers.
Link copied to clipboard
public abstract class EventComparator implements Comparator<T>, Serializable
An abstract base for the comparators working with Events.
Link copied to clipboard
public final class EventDispatch<I, E extends TransactionalEntity<I, ? extends Object, ? extends Object>>
A dispatch of the event to the appropriate handler of an entity.
Link copied to clipboard
public interface EventDispatcher implements MulticastDispatcher<C, E>
EventDispatcher delivers events to receiving objects.
Link copied to clipboard
public interface EventDispatcherDelegate
A common interface for objects which need to dispatch events, but are unable to implement EventDispatcher.
Link copied to clipboard
public final class EventEnricher extends Enricher<M, C>
Enriches events after they are stored, and before they are dispatched.
Link copied to clipboard
public abstract class EventException extends RuntimeException implements MessageError
A base for exceptions related to events.
Link copied to clipboard
public class EventFactory
Produces events.
Link copied to clipboard
public final class EventOrigin
Origin of an event.
Link copied to clipboard
public interface EventReactor implements EventReceiver, EventProducer
A event reactor declares methods that receive events and may generate other events in response.
Link copied to clipboard
public interface EventReceiver
Common interface for objects receiving events.
Link copied to clipboard
public interface EventStore implements ContextAware, Closeable
A store of all events in a Bounded Context.
Link copied to clipboard
public interface EventSubscriber implements EventReceiver
An event subscriber declares one or more methods subscribed to events.
Link copied to clipboard
public class InvalidEventException extends EventException implements MessageInvalid
The exception for reporting invalid events.
Link copied to clipboard
Marks a method of an entity as one that may modify the state of the entity in response to some domain event.
Link copied to clipboard
public final class RejectionEnvelope extends AbstractMessageEnvelope<I, T, C> implements SignalEnvelope<I, T, C>
The holder of a rejection Event which provides convenient access to its properties.
Link copied to clipboard
Exception that is thrown when unsupported event is obtained or if there is no class for the given Protobuf event message.