Package | Description |
---|---|
org.axonframework.commandhandling.disruptor | |
org.axonframework.contextsupport.spring | |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.test |
Classes in support of testing Axon based applications.
|
Modifier and Type | Method and Description |
---|---|
<T extends EventSourcedAggregateRoot> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory . |
<T extends EventSourcedAggregateRoot> |
DisruptorCommandBus.createRepository(AggregateFactory<T> aggregateFactory,
EventStreamDecorator decorator)
Creates a repository instance for an Event Sourced aggregate that is created by the given
aggregateFactory . |
<T extends EventSourcedAggregateRoot> |
CommandHandlerInvoker.createRepository(AggregateFactory<T> aggregateFactory,
EventStreamDecorator decorator)
Create a repository instance for an aggregate created by the given
aggregateFactory . |
Modifier and Type | Method and Description |
---|---|
void |
DisruptorCommandBusBeanDefinitionParser.RepositoryFactoryBean.setAggregateFactory(AggregateFactory<? extends EventSourcedAggregateRoot> factory)
Sets the aggregate factory used to create instances for the repository to create.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAggregateFactory<T extends EventSourcedAggregateRoot>
Abstract AggregateFactory implementation that is aware of snapshot events.
|
class |
GenericAggregateFactory<T extends EventSourcedAggregateRoot>
Aggregate factory that uses a convention to create instances of aggregates.
|
class |
SpringPrototypeAggregateFactory<T extends EventSourcedAggregateRoot>
AggregateFactory implementation that uses Spring prototype beans to create new uninitialized instances of
Aggregates.
|
Modifier and Type | Method and Description |
---|---|
AggregateFactory<T> |
EventSourcingRepository.getAggregateFactory()
Returns the factory used by this repository.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringAggregateSnapshotter.setAggregateFactories(List<AggregateFactory<?>> aggregateFactories)
Optionally sets the aggregate factories to use.
|
void |
AggregateSnapshotter.setAggregateFactories(List<AggregateFactory<?>> aggregateFactories)
Sets the aggregate factory to use.
|
Constructor and Description |
---|
CachingEventSourcingRepository(AggregateFactory<T> aggregateFactory,
EventStore eventStore)
Initializes a repository with a the given
aggregateFactory and a pessimistic locking strategy. |
CachingEventSourcingRepository(AggregateFactory<T> aggregateFactory,
EventStore eventStore,
LockManager lockManager)
Initializes a repository with a the given
aggregateFactory and a pessimistic locking strategy. |
EventSourcingRepository(AggregateFactory<T> aggregateFactory,
EventStore eventStore)
Initializes a repository with the default locking strategy, using the given
aggregateFactory to
create new aggregate instances. |
EventSourcingRepository(AggregateFactory<T> aggregateFactory,
EventStore eventStore,
LockManager lockManager)
Initialize a repository with the given locking strategy.
|
Modifier and Type | Method and Description |
---|---|
FixtureConfiguration<T> |
GivenWhenThenTestFixture.registerAggregateFactory(AggregateFactory<T> aggregateFactory) |
FixtureConfiguration<T> |
FixtureConfiguration.registerAggregateFactory(AggregateFactory<T> aggregateFactory)
Registers the given
aggregateFactory with the fixture. |
Copyright © 2010-2014. All Rights Reserved.