Package | Description |
---|---|
org.axonframework.config | |
org.axonframework.modelling.command |
Modifier and Type | Method and Description |
---|---|
CreationPolicyAggregateFactory<A> |
AggregateConfigurer.creationPolicyAggregateFactory()
Returns the
CreationPolicyAggregateFactory defined in this configuration. |
Modifier and Type | Method and Description |
---|---|
AggregateConfigurer<A> |
AggregateConfigurer.configureCreationPolicyAggregateFactory(Function<Configuration,CreationPolicyAggregateFactory<A>> creationPolicyAggregateFactoryBuilder)
Defines the factory to create new aggregate instances of the type under configuration when initializing those
instances from non-constructor command handlers annotated with
CreationPolicy . |
Modifier and Type | Class and Description |
---|---|
class |
NoArgumentConstructorCreationPolicyAggregateFactory<A>
Default implementation of
CreationPolicyAggregateFactory that invokes the default, no-arguments constructor
of the aggregate class A . |
Modifier and Type | Method and Description |
---|---|
AggregateAnnotationCommandHandler.Builder<T> |
AggregateAnnotationCommandHandler.Builder.creationPolicyAggregateFactory(CreationPolicyAggregateFactory<T> creationPolicyAggregateFactory)
Sets the
CreationPolicyAggregateFactory for generic type T . |
Copyright © 2010–2024. All rights reserved.