Package-level declarations

Types

Link copied to clipboard
public abstract class Aggregate<I, S extends EntityState, B extends ValidatingBuilder<S>> extends CommandHandlingEntity<I, S, B> implements EventPlayer, EventReactor
Abstract base for aggregates.
Link copied to clipboard
public enum AggregateField implements StorageField
A container for the storage fields specific for the AggregateStorage and its implementations.
Link copied to clipboard
public abstract class AggregatePart<I, S extends EntityState, B extends ValidatingBuilder<S>, R extends AggregateRoot<I>> extends Aggregate<I, S, B>
A part of a larger aggregate.
Link copied to clipboard
public abstract class AggregatePartRepository<I, A extends AggregatePart<I, ? extends Object, ? extends Object, R>, R extends AggregateRoot<I>> extends AggregateRepository<I, A>
Common abstract base for repositories that manage AggregateParts.
Link copied to clipboard
public final class AggregateReadRequest<I> implements ReadRequest<I>
A request to read events for a particular Aggregate from AggregateStorage.
Link copied to clipboard
public abstract class AggregateRepository<I, A extends Aggregate<I, ? extends Object, ? extends Object>> extends Repository<I, E> implements CommandDispatcher, EventProducingRepository, EventDispatcherDelegate
The repository which manages instances of Aggregates.
Link copied to clipboard
public class AggregateRoot<I>
A root object for a larger aggregate.
Link copied to clipboard
public interface AggregateRootDirectory
A mapping of aggregate roots to the associated parts.
Link copied to clipboard
public abstract class AggregateStorage<I> extends AbstractStorage<I, M, R> implements StorageWithLifecycleFlags<I, M, R>
An event-sourced storage of aggregate part events and snapshots.
Link copied to clipboard
public class AggregateTransaction<I, S extends EntityState, B extends ValidatingBuilder<S>> extends EventPlayingTransaction<I, E, S, B>
A transaction, within which Aggregate instances are modified.
Link copied to clipboard
Marks a method of an aggregate as one that modifies the state of the aggregate with data from the passed event.
Link copied to clipboard
public final class DefaultAggregatePartRepository<I, A extends AggregatePart<I, ? extends Object, ? extends Object, R>, R extends AggregateRoot<I>> extends AggregatePartRepository<I, A, R> implements DefaultRepository
Default implementation of AggregatePartRepository.
Link copied to clipboard
public final class DefaultAggregateRepository<I, A extends Aggregate<I, ? extends Object, ? extends Object>> extends AggregateRepository<I, A> implements DefaultRepository
Default implementation of AggregateRepository.
Link copied to clipboard
public final class EventImportDispatcher<I> implements EventDispatcher
Dispatches events to be imported to the associated aggregate repository.
Link copied to clipboard
public final class ImportBus extends UnicastBus<T, E, C, D>
Dispatches events to repositories of aggregates that import these events.
Link copied to clipboard
public final class InMemoryRootDirectory implements AggregateRootDirectory
An in-mem implementation of AggregateRootDirectory.
Link copied to clipboard
Thrown when there are no aggregates that accept an event message for import.