Package org.axonframework.config
Interface AggregateConfiguration<A>
- Type Parameters:
A- The type of Aggregate defined in this Configuration
- All Superinterfaces:
ModuleConfiguration
- All Known Implementing Classes:
AggregateConfigurer
Specialization of the Module Configuration for modules that define an Aggregate Configuration. This interface allows
components to retrieve the Repository used to load Aggregates of the type defined in this Configuration.
- Since:
- 3.0
- Author:
- Allard Buijze
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAggregateFactorydefined in this configuration.Returns the type of Aggregate defined in this configuration.Returns the repository defined to load instances of the Aggregate type defined in this configuration.Returns theSnapshotFilterdefined in this configuration.Methods inherited from interface org.axonframework.config.ModuleConfiguration
initialize, isType, phase, shutdown, start, unwrap
-
Method Details
-
repository
Repository<A> repository()Returns the repository defined to load instances of the Aggregate type defined in this configuration.- Returns:
- the repository to load aggregates
-
aggregateType
Returns the type of Aggregate defined in this configuration.- Returns:
- the type of Aggregate defined in this configuration
-
aggregateFactory
AggregateFactory<A> aggregateFactory()Returns theAggregateFactorydefined in this configuration.- Returns:
- the
AggregateFactorydefined in this configuration.
-
snapshotFilter
SnapshotFilter snapshotFilter()Returns theSnapshotFilterdefined in this configuration.- Returns:
- the
SnapshotFilterdefined in this configuration
-