Uses of Interface
org.axonframework.modelling.command.inspection.AggregateModel
Packages that use AggregateModel
Package
Description
-
Uses of AggregateModel in org.axonframework.modelling.command
Methods in org.axonframework.modelling.command that return AggregateModelModifier and TypeMethodDescriptionprotected AggregateModel<T>AbstractRepository.aggregateModel()Returns the aggregate model stored by this repository.protected AggregateModel<T>AbstractRepository.Builder.buildAggregateModel()Instantiate theAggregateModelof generic typeTdescribing the structure of the Aggregate thisRepositorywill store.Methods in org.axonframework.modelling.command with parameters of type AggregateModelModifier and TypeMethodDescriptionAbstractRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel) Sets theAggregateModelof generic typeT, describing the structure of the aggregate thisRepositorywill store.AggregateAnnotationCommandHandler.Builder.aggregateModel(AggregateModel<T> aggregateModel) Sets theAggregateModelof generic typeT, describing the structure of the aggregate theAnnotationCommandHandlerAdapterwill handle.GenericJpaRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel) LockingRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel) -
Uses of AggregateModel in org.axonframework.modelling.command.inspection
Fields in org.axonframework.modelling.command.inspection declared as AggregateModelMethods in org.axonframework.modelling.command.inspection that return AggregateModelModifier and TypeMethodDescriptiondefault <T> AggregateModel<T>AggregateMetaModelFactory.createModel(Class<? extends T> aggregateType) Create an Aggregate meta model for the givenaggregateType.<T> AggregateModel<T>AggregateMetaModelFactory.createModel(Class<? extends T> aggregateType, Set<Class<? extends T>> subtypes) Create an Aggregate meta model for the givenaggregateTypeand providedsubtypes.static <T> AggregateModel<T>AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType) Shorthand to create a factory instance and inspect the model for the givenaggregateType.static <T> AggregateModel<T>AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType, Set<Class<? extends T>> subtypes) Shorthand to create a factory instance and inspect the model for the givenaggregateTypeand itssubtypes.static <T> AggregateModel<T>AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory) Shorthand to create a factory instance and inspect the model for the givenaggregateType, using givenparameterResolverFactoryto resolve parameter values for annotated handlers.static <T> AggregateModel<T>AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory, org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition) Shorthand to create a factory instance and inspect the model for the givenaggregateType, using givenparameterResolverFactoryto resolve parameter values for annotated handlers andhandlerDefinitionto create concrete handlers.static <T> AggregateModel<T>AnnotatedAggregateMetaModelFactory.inspectAggregate(Class<T> aggregateType, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory, org.axonframework.messaging.annotation.HandlerDefinition handlerDefinition, Set<Class<? extends T>> subtypes) Shorthand to create a factory instance and inspect the model for the givenaggregateTypeand itssubytpes, using givenparameterResolverFactoryto resolve parameter values for annotated handlers andhandlerDefinitionto create concrete handlers.Methods in org.axonframework.modelling.command.inspection with parameters of type AggregateModelModifier and TypeMethodDescriptionstatic <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus, boolean generateSequences) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(Callable<T> aggregateFactory, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus, RepositoryProvider repositoryProvider, boolean generateSequences) Initialize an aggregate created by the givenaggregateFactorywhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(T aggregateRoot, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus) Initialize an aggregate with the givenaggregateRootwhich is described in the givenaggregateModel.static <T> AnnotatedAggregate<T>AnnotatedAggregate.initialize(T aggregateRoot, AggregateModel<T> aggregateModel, org.axonframework.eventhandling.EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an aggregate with the givenaggregateRootwhich is described in the givenaggregateModel.Constructors in org.axonframework.modelling.command.inspection with parameters of type AggregateModelModifierConstructorDescriptionprotectedAnnotatedAggregate(AggregateModel<T> inspector, org.axonframework.eventhandling.EventBus eventBus) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus.protectedAnnotatedAggregate(AggregateModel<T> inspector, org.axonframework.eventhandling.EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus.protectedAnnotatedAggregate(T aggregateRoot, AggregateModel<T> model, org.axonframework.eventhandling.EventBus eventBus) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus.protectedAnnotatedAggregate(T aggregateRoot, AggregateModel<T> model, org.axonframework.eventhandling.EventBus eventBus, RepositoryProvider repositoryProvider) Initialize an Aggregate instance for the givenaggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. -
Uses of AggregateModel in org.axonframework.modelling.command.legacyjpa
Methods in org.axonframework.modelling.command.legacyjpa with parameters of type AggregateModelModifier and TypeMethodDescriptionGenericJpaRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel)