| Package | Description |
|---|---|
| org.axonframework.commandhandling |
Classes that implement the concept of command handling using explicit command objects.
|
| org.axonframework.commandhandling.disruptor | |
| org.axonframework.commandhandling.model | |
| org.axonframework.config | |
| org.axonframework.eventsourcing |
Classes related to event sourcing.
|
| org.axonframework.spring.config | |
| org.axonframework.test.aggregate |
| Constructor and Description |
|---|
AggregateAnnotationCommandHandler(Class<T> aggregateType,
Repository<T> repository)
Initializes an AnnotationCommandHandler based on the annotations on given
aggregateType, using the
given repository to add and load aggregate instances. |
AggregateAnnotationCommandHandler(Class<T> aggregateType,
Repository<T> repository,
CommandTargetResolver commandTargetResolver)
Initializes an AnnotationCommandHandler based on the annotations on given
aggregateType, using the
given repository to add and load aggregate instances and the default ParameterResolverFactory. |
AggregateAnnotationCommandHandler(Class<T> aggregateType,
Repository<T> repository,
CommandTargetResolver commandTargetResolver,
ParameterResolverFactory parameterResolverFactory)
Initializes an AnnotationCommandHandler based on the annotations on given
aggregateType, using the
given repository to add and load aggregate instances and the given
parameterResolverFactory. |
AggregateAnnotationCommandHandler(Class<T> aggregateType,
Repository<T> repository,
CommandTargetResolver commandTargetResolver,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Initializes an AnnotationCommandHandler based on the annotations on given
aggregateType, using the given
repository to add and load aggregate instances, the given parameterResolverFactory to resolve
parameters which are required by handlers and the given handlerDefinition used to create handlers. |
AggregateAnnotationCommandHandler(Repository<T> repository,
CommandTargetResolver commandTargetResolver,
AggregateModel<T> aggregateModel)
Initializes an AnnotationCommandHandler based on the annotations on given
aggregateType, using the
given repository to add and load aggregate instances and the given
parameterResolverFactory. |
| Modifier and Type | Method and Description |
|---|---|
<T> Repository<T> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory)
Deprecated.
|
<T> Repository<T> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory,
ParameterResolverFactory parameterResolverFactory)
|
<T> Repository<T> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition)
|
<T> Repository<T> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
|
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
eventStore and aggregateFactory. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
ParameterResolverFactory parameterResolverFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory and sourced from given eventStore. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory and sourced from given eventStore. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate that is created by the given
eventStore and aggregateFactory. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition)
Creates a repository instance for an Event Sourced aggregate, source from given
eventStore, that is
created by the given aggregateFactory. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
Creates a repository instance for an Event Sourced aggregate, sourced from given
eventStore, that is
created by the given aggregateFactory. |
<T> Repository<T> |
CommandHandlerInvoker.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory)
Create a repository instance for an aggregate created by the given
aggregateFactory. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate, sourced from given
eventStore, that is
created by the given aggregateFactory. |
<T> Repository<T> |
DisruptorCommandBus.createRepository(EventStore eventStore,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
RepositoryProvider repositoryProvider)
Creates a repository instance for an Event Sourced aggregate, source from given
eventStore, that is
created by the given aggregateFactory. |
<T> Repository<T> |
CommandHandlerInvoker.createRepository(EventStore eventStore,
RepositoryProvider repositoryProvider,
AggregateFactory<T> aggregateFactory,
SnapshotTriggerDefinition snapshotTriggerDefinition,
ParameterResolverFactory parameterResolverFactory,
HandlerDefinition handlerDefinition)
Create a repository instance for an aggregate created by the given
aggregateFactory. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRepository<T,A extends Aggregate<T>>
Abstract implementation of the
Repository that takes care of the dispatching of events when an aggregate is
persisted. |
class |
GenericJpaRepository<T>
Generic repository implementation that stores JPA annotated aggregates.
|
class |
LockingRepository<T,A extends Aggregate<T>>
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent
modifications of persisted aggregates.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Repository<T> |
RepositoryProvider.repositoryFor(Class<T> aggregateType)
Provides a repository for given aggregate type.
|
| Modifier and Type | Method and Description |
|---|---|
Repository<A> |
AggregateConfigurer.repository() |
Repository<A> |
AggregateConfiguration.repository()
Returns the repository defined to load instances of the Aggregate type defined in this configuration
|
<T> Repository<T> |
Configuration.repository(Class<T> aggregateType)
Returns the Repository configured for the given
aggregateType. |
| Modifier and Type | Method and Description |
|---|---|
AggregateConfigurer<A> |
AggregateConfigurer.configureRepository(Function<Configuration,Repository<A>> repositoryBuilder)
Defines the repository to use to load and store Aggregates of this type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachingEventSourcingRepository<T>
Implementation of the event sourcing repository that uses a cache to improve loading performance.
|
class |
EventSourcingRepository<T>
Abstract repository implementation that allows easy implementation of an Event Sourcing mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
Repository<T> |
RepositoryFactoryBean.getObject() |
<T> Repository<T> |
AxonConfiguration.repository(Class<T> aggregateType) |
| Modifier and Type | Method and Description |
|---|---|
Repository<T> |
FixtureConfiguration.getRepository()
Returns the repository used by this fixture.
|
Repository<T> |
AggregateTestFixture.getRepository() |
| Modifier and Type | Method and Description |
|---|---|
FixtureConfiguration<T> |
FixtureConfiguration.registerRepository(Repository<T> repository)
Registers an arbitrary
repository with the fixture. |
FixtureConfiguration<T> |
AggregateTestFixture.registerRepository(Repository<T> repository) |
Copyright © 2010–2018. All rights reserved.