Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractChildEntityDefinition - Class in org.axonframework.modelling.command.inspection
-
Abstract implementation of the
ChildEntityDefinitionto provide reusable functionality for collections of ChildEntityDefinitions. - AbstractChildEntityDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
- AbstractRepository<T,
A extends Aggregate<T>> - Class in org.axonframework.modelling.command -
Abstract implementation of the
Repositorythat takes care of the dispatching of events when an aggregate is persisted. - AbstractRepository(AbstractRepository.Builder<T>) - Constructor for class org.axonframework.modelling.command.AbstractRepository
-
Instantiate a
AbstractRepositorybased on the fields contained in theAbstractRepository.Builder. - AbstractRepository.Builder<T> - Class in org.axonframework.modelling.command
-
Abstract Builder class to instantiate
AbstractRepositoryimplementations. - AbstractResourceInjector - Class in org.axonframework.modelling.saga
-
Abstract implementation of a
ResourceInjectorfor sagas that injects field and method resources. - AbstractResourceInjector() - Constructor for class org.axonframework.modelling.saga.AbstractResourceInjector
- AbstractSagaEntry<T> - Class in org.axonframework.modelling.saga.repository.jpa
-
Deprecated.
- AbstractSagaEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Default constructor required by JPA.
- AbstractSagaEntry(Object, String, Serializer, Class<T>) - Constructor for class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Constructs a new SagaEntry for the given
saga. - AbstractSagaManager<T> - Class in org.axonframework.modelling.saga
-
Abstract implementation of the SagaManager interface that provides basic functionality required by most SagaManager implementations.
- AbstractSagaManager(AbstractSagaManager.Builder<T>) - Constructor for class org.axonframework.modelling.saga.AbstractSagaManager
-
Instantiate a
AbstractSagaManagerbased on the fields contained in theAbstractSagaManager.Builder. - AbstractSagaManager.Builder<T> - Class in org.axonframework.modelling.saga
-
Abstract Builder class to instantiate
AbstractSagaManagerimplementations. - add(AssociationValue) - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Adds the given
associationValue, if it has not been previously added. - add(AssociationValue) - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- add(AssociationValue, String, String) - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Adds an association between the given
associationValueandsagaIdentifier. - addCachedAssociations(Iterable<AssociationValue>, String, Class<?>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
-
Registers the associations of a saga with given
sagaIdentifierand givensagaTypewith the associations cache. - addedAssociations() - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Returns the Set of association values that have been added since the last
AssociationValues.commit(). - addedAssociations() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- Aggregate<T> - Interface in org.axonframework.modelling.command
-
Interface that describes an aggregate.
- AggregateAnnotationCommandHandler<T> - Class in org.axonframework.modelling.command
-
Command handler that registers a set of
CommandHandlerbased on annotations of an aggregate. - AggregateAnnotationCommandHandler(AggregateAnnotationCommandHandler.Builder<T>) - Constructor for class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
-
Instantiate a
AggregateAnnotationCommandHandlerbased on the fields contained in theAggregateAnnotationCommandHandler.Builder. - AggregateAnnotationCommandHandler.Builder<T> - Class in org.axonframework.modelling.command
-
Builder class to instantiate a
AggregateAnnotationCommandHandler. - AggregateCreationPolicy - Enum Class in org.axonframework.modelling.command
-
Enumeration containing the possible creation policies for aggregates.
- AggregateEntityNotFoundException - Exception in org.axonframework.modelling.command
-
Exception indicating that the entity of an aggregate could not be found.
- AggregateEntityNotFoundException(String) - Constructor for exception org.axonframework.modelling.command.AggregateEntityNotFoundException
-
Initialize a
AggregateEntityNotFoundExceptionwith givenmessage. - AggregateEntityNotFoundException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateEntityNotFoundException
-
Initialize a
AggregateEntityNotFoundExceptionwith givenmessageandcause. - aggregateIdAttribute(String) - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory.Builder
-
Sets the attribute name to use for the aggregate id.
- AggregateIdentifier - Annotation Interface in org.axonframework.modelling.command
- AggregateInvocationException - Exception in org.axonframework.modelling.command
-
Exception thrown when an invocation on a method of an aggregate gives rise to an exception.
- AggregateInvocationException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateInvocationException
-
Initializes the exception using the given
messageandcause. - AggregateLifecycle - Class in org.axonframework.modelling.command
-
Abstract base class of a component that models an aggregate's life cycle.
- AggregateLifecycle() - Constructor for class org.axonframework.modelling.command.AggregateLifecycle
- AggregateMember - Annotation Interface in org.axonframework.modelling.command
- AggregateMemberAnnotatedChildEntityCollectionDefinition - Class in org.axonframework.modelling.command.inspection
-
Implementation of a
AbstractChildEntityDefinitionthat is used to detect Collections of entities (member type assignable toIterable) annotated withAggregateMember. - AggregateMemberAnnotatedChildEntityCollectionDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
- AggregateMemberAnnotatedChildEntityDefinition - Class in org.axonframework.modelling.command.inspection
-
Implementation of a
ChildEntityDefinitionthat is used to detect single entities annotated withAggregateMember. - AggregateMemberAnnotatedChildEntityDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
- AggregateMemberAnnotatedChildEntityMapDefinition - Class in org.axonframework.modelling.command.inspection
-
Implementation of a
AbstractChildEntityDefinitionthat is used to detect Maps with entities as values annotated withAggregateMember. - AggregateMemberAnnotatedChildEntityMapDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
- AggregateMetaModelFactory - Interface in org.axonframework.modelling.command.inspection
-
Interface of a factory for an
AggregateModelfor any given type defining an aggregate. - aggregateModel() - Method in class org.axonframework.modelling.command.AbstractRepository
-
Returns the aggregate model stored by this repository.
- aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets the
AggregateModelof generic typeT, describing the structure of the aggregate thisRepositorywill store. - aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
AggregateModelof generic typeT, describing the structure of the aggregate theAnnotationCommandHandlerAdapterwill handle. - aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
- AggregateModel<T> - Interface in org.axonframework.modelling.command.inspection
-
Specialized EntityModel that describes the capabilities and properties of an aggregate root of type
T. - AggregateModellingException - Exception in org.axonframework.modelling.command.inspection
-
Thrown if an aggregate model is invalid.
- AggregateModellingException(String) - Constructor for exception org.axonframework.modelling.command.inspection.AggregateModellingException
-
Constructs this exception with given
messageexplaining the cause. - AggregateNotFoundException - Exception in org.axonframework.modelling.command
-
Exception indicating that the an aggregate could not be found in the repository.
- AggregateNotFoundException(String, String) - Constructor for exception org.axonframework.modelling.command.AggregateNotFoundException
-
Initialize a AggregateNotFoundException for an aggregate identifier by given
aggregateIdentifierand givenmessage. - AggregateNotFoundException(String, String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateNotFoundException
-
Initialize a AggregateNotFoundException for an aggregate identifier by given
aggregateIdentifierand with the givenmessageandcause. - AggregateRolledBackException - Exception in org.axonframework.modelling.command
-
Exception indicating that an aggregate has been part of a Unit of Work that was rolled back and that the validity of its state cannot be guaranteed.
- AggregateRolledBackException(String) - Constructor for exception org.axonframework.modelling.command.AggregateRolledBackException
-
Initialize the exception for an aggregate with given
aggregateIdentifier. - AggregateRoot - Annotation Interface in org.axonframework.modelling.command
-
Annotation placed on types that should be treated as the root of an aggregate.
- AggregateScopeDescriptor - Class in org.axonframework.modelling.command
-
Describes the scope of an Aggregate by means of its type and identifier.
- AggregateScopeDescriptor(String, Object) - Constructor for class org.axonframework.modelling.command.AggregateScopeDescriptor
-
Instantiate an AggregateScopeDescriptor with the provided
typeandidentifier. - AggregateScopeDescriptor(String, Supplier<Object>) - Constructor for class org.axonframework.modelling.command.AggregateScopeDescriptor
-
Instantiate an AggregateScopeDescriptor with a
typeandidentifierSupplier. - AggregateStreamCreationException - Exception in org.axonframework.modelling.command
-
Exception indicating that concurrent access to a repository was detected.
- AggregateStreamCreationException(String) - Constructor for exception org.axonframework.modelling.command.AggregateStreamCreationException
-
Initialize the exception with the given
message. - AggregateStreamCreationException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateStreamCreationException
-
Initialize the exception with the given
messageandcause - aggregateType - Variable in class org.axonframework.modelling.command.AbstractRepository.Builder
- aggregateType(Class<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
aggregateTypeas aClass, specifying the type of aggregate anAggregateModelshould be created for. - AggregateTypeUtils - Class in org.axonframework.modelling.command.inspection
- AggregateVersion - Annotation Interface in org.axonframework.modelling.command
- allCommandHandlerInterceptors() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Gets all command handler interceptors per type in this aggregate hierarchy.
- allCommandHandlers() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Gets all command handlers per type in this aggregate hierarchy.
- allEventHandlers() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Gets all event handlers per type in this aggregate hierarchy.
- ALWAYS - Enum constant in enum class org.axonframework.modelling.command.AggregateCreationPolicy
-
Always create a new instance of the aggregate on invoking the method.
- ALWAYS - Enum constant in enum class org.axonframework.modelling.saga.SagaCreationPolicy
-
Always create a new Saga, even if one already exists.
- andThen(Runnable) - Method in interface org.axonframework.modelling.command.ApplyMore
-
Execute the given
runnableafter applying the previous event. - andThen(Runnable) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- andThenApply(Supplier<?>) - Method in interface org.axonframework.modelling.command.ApplyMore
-
Apply a subsequent event to the aggregate after applying another event.
- andThenApply(Supplier<?>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- andThenApplyIf(Supplier<Boolean>, Supplier<?>) - Method in interface org.axonframework.modelling.command.ApplyMore
-
Conditionally apply a subsequent event to the aggregate after applying another event.
- andThenIf(Supplier<Boolean>, Runnable) - Method in interface org.axonframework.modelling.command.ApplyMore
-
Conditionally execute the given
runnableafter applying the previous event. - AnnotatedAggregate<T> - Class in org.axonframework.modelling.command.inspection
-
Implementation of the
Aggregateinterface that allows for an aggregate root to be a POJO with annotations on its Command and Event Handler methods. - AnnotatedAggregate(AggregateModel<T>, EventBus) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an Aggregate instance for the given
aggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. - AnnotatedAggregate(AggregateModel<T>, EventBus, RepositoryProvider) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an Aggregate instance for the given
aggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. - AnnotatedAggregate(T, AggregateModel<T>, EventBus) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an Aggregate instance for the given
aggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. - AnnotatedAggregate(T, AggregateModel<T>, EventBus, RepositoryProvider) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an Aggregate instance for the given
aggregateRoot, described by the givenaggregateModelthat will publish events to the giveneventBus. - AnnotatedAggregateMetaModelFactory - Class in org.axonframework.modelling.command.inspection
-
AggregateMetaModelFactory implementation that uses annotations on the target aggregate's members to build up the meta-model of the aggregate.
- AnnotatedAggregateMetaModelFactory() - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Initializes an instance which uses the default, classpath based, ParameterResolverFactory to detect parameters for annotated handlers.
- AnnotatedAggregateMetaModelFactory(ParameterResolverFactory) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Initializes an instance which uses the given
parameterResolverFactoryto detect parameters for annotated handlers. - AnnotatedAggregateMetaModelFactory(ParameterResolverFactory, HandlerDefinition) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Initializes an instance which uses the given
parameterResolverFactoryto detect parameters for annotated handlers andhandlerDefinitionto create concrete handlers. - AnnotatedChildEntity<P,
C> - Class in org.axonframework.modelling.command.inspection -
Implementation of a
ChildEntitythat uses annotations on a target entity to resolve event and command handlers. - AnnotatedChildEntity(EntityModel<C>, boolean, BiFunction<CommandMessage<?>, P, C>, BiFunction<EventMessage<?>, P, Stream<C>>) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedChildEntity
-
Initiates a new AnnotatedChildEntity instance that uses the provided
entityModelto delegate command and event handling to an annotated child entity. - AnnotatedCommandHandlerInterceptor<T> - Class in org.axonframework.modelling.command.inspection
-
Annotated command handler interceptor on aggregate.
- AnnotatedCommandHandlerInterceptor(MessageHandlingMember<T>, T) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedCommandHandlerInterceptor
-
Initializes annotated command handler interceptor with delegate handler and target on which handler is to be invoked.
- AnnotatedSaga<T> - Class in org.axonframework.modelling.saga
-
Implementation of the
interfacethat allows for a POJO instance with annotated message handlers to act as a Saga. - AnnotatedSaga(String, Set<AssociationValue>, T, SagaModel<T>, MessageHandlerInterceptorMemberChain<T>) - Constructor for class org.axonframework.modelling.saga.AnnotatedSaga
-
Creates an AnnotatedSaga instance to wrap the given
annotatedSaga, identifier with the givensagaIdand associated with the givenassociationValues. - AnnotatedSagaManager<T> - Class in org.axonframework.modelling.saga
-
Implementation of the SagaManager that uses annotations on the Sagas to describe the lifecycle management.
- AnnotatedSagaManager(AnnotatedSagaManager.Builder<T>) - Constructor for class org.axonframework.modelling.saga.AnnotatedSagaManager
-
Instantiate a
AnnotatedSagaManagerbased on the fields contained in theAnnotatedSagaManager.Builder. - AnnotatedSagaManager.Builder<T> - Class in org.axonframework.modelling.saga
-
Builder class to instantiate a
AnnotatedSagaManager. - AnnotatedSagaRepository<T> - Class in org.axonframework.modelling.saga.repository
-
SagaRepositoryimplementation extending from theLockingSagaRepositorydealing with annotated Sagas. - AnnotatedSagaRepository(AnnotatedSagaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Instantiate a
AnnotatedSagaRepositorybased on the fields contained in theAnnotatedSagaRepository.Builder. - AnnotatedSagaRepository.Builder<T> - Class in org.axonframework.modelling.saga.repository
-
Builder class to instantiate a
AnnotatedSagaRepository. - annotationAttributes(Class<? extends Annotation>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- AnnotationCommandTargetResolver - Class in org.axonframework.modelling.command
-
CommandTargetResolver that uses annotations on the command to identify the methods that provide the Aggregate Identifier of the targeted Aggregate and optionally the expected version of the aggregate.
- AnnotationCommandTargetResolver() - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver
-
Deprecated.Please use the
AnnotationCommandTargetResolver.builder(). - AnnotationCommandTargetResolver(AnnotationCommandTargetResolver.Builder) - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver
-
Instantiate a
AnnotationCommandTargetResolverbased on the fields contained in theAnnotationCommandTargetResolver.Builder. - AnnotationCommandTargetResolver.Builder - Class in org.axonframework.modelling.command
-
Builder class to instantiate a
AnnotationCommandTargetResolver. - AnnotationSagaMetaModelFactory - Class in org.axonframework.modelling.saga.metamodel
-
Default implementation of a
SagaMetaModelFactory. - AnnotationSagaMetaModelFactory() - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
Initializes a
AnnotationSagaMetaModelFactorywithClasspathParameterResolverFactoryandClasspathHandlerDefinition. - AnnotationSagaMetaModelFactory(ParameterResolverFactory) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
Initializes a
AnnotationSagaMetaModelFactorywith givenparameterResolverFactoryandClasspathHandlerDefinition. - AnnotationSagaMetaModelFactory(ParameterResolverFactory, HandlerDefinition) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
Initializes a
AnnotationSagaMetaModelFactorywith givenparameterResolverFactoryand givenhandlerDefinition. - apply(Object) - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Apply a
DomainEventMessagewith given payload without metadata (though interceptors can also be used to provide metadata). - apply(Object, MetaData) - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Apply a
DomainEventMessagewith given payload and metadata (metadata from interceptors will be combined with the provided metadata). - applyMessageOrPayload(Object) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Apply a new event message to the aggregate and then publish this message to external systems.
- ApplyMore - Interface in org.axonframework.modelling.command
-
Interface that describes a mechanism that enables the application of an additional event after another event is applied.
- asSet() - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Returns this instance as a Set of Association Values.
- asSet() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- associateWith(String, Number) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Registers a AssociationValue with the currently active saga.
- associateWith(String, String) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Registers a AssociationValue with the currently active saga.
- associateWith(AssociationValue) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Registers a AssociationValue with the currently active saga.
- associationKeyColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the associationKey column
- associationKeyColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the association key column.
- associationProperty() - Element in annotation interface org.axonframework.modelling.saga.SagaEventHandler
-
The property in the event that will provide the value to find the Saga instance.
- associationResolver() - Element in annotation interface org.axonframework.modelling.saga.SagaEventHandler
-
The type of AssociationResolver that will resolve the association property value.
- AssociationResolver - Interface in org.axonframework.modelling.saga
-
Used to derive the value of an association property as designated by the association property name.
- associationsCache(Cache) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
-
Sets the
associationsCacheof typeCacheused to store Saga associations with. - AssociationValue - Class in org.axonframework.modelling.saga
-
A combination of key and value by which a Saga can be found.
- AssociationValue(String, String) - Constructor for class org.axonframework.modelling.saga.AssociationValue
-
Creates a Association Value instance with the given
keyandvalue. - associationValueColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the associationValue column
- associationValueColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the association value column.
- AssociationValueEntry - Class in org.axonframework.modelling.saga.repository.jpa
-
JPA wrapper around an Association Value.
- AssociationValueEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
Constructor required by JPA.
- AssociationValueEntry(String, String, AssociationValue) - Constructor for class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
Initialize a new AssociationValueEntry for a saga with given
sagaIdentifierandassociationValue. - associationValueEntryTable() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the associationValueEntry table
- associationValueEntryTable(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the association value entry table.
- AssociationValueMap - Class in org.axonframework.modelling.saga.repository
-
In-memory storage for AssociationValue to Saga mappings.
- AssociationValueMap() - Constructor for class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Initializes a new and empty AssociationValueMap.
- associationValues() - Method in interface org.axonframework.modelling.saga.repository.SagaStore.Entry
-
Returns the Set of association values of the fetched Saga entry.
- associationValues() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Retrieves the
AssociationValuesthat have been associated with the current Saga so far. - AssociationValues - Interface in org.axonframework.modelling.saga
-
Interface describing a container of
Association Valuesfor a singleSagainstance. - AssociationValuesImpl - Class in org.axonframework.modelling.saga
-
Default implementation of the AssociationValues interface.
- AssociationValuesImpl() - Constructor for class org.axonframework.modelling.saga.AssociationValuesImpl
-
Initializes a new AssociationValues object without initial associations.
- AssociationValuesImpl(Set<AssociationValue>) - Constructor for class org.axonframework.modelling.saga.AssociationValuesImpl
-
Initializes a new AssociationValues object with given initial associations.
- attribute(String) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
B
- build() - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Initializes a
AggregateAnnotationCommandHandleras specified through this Builder. - build() - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
-
Initializes a
AnnotationCommandTargetResolveras specified through this Builder. - build() - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory.Builder
-
Initializes a
DefaultRepositorySpanFactoryas specified through this Builder. - build() - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Initializes a
GenericJpaRepositoryas specified through this Builder. - build() - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Initializes a
GenericJpaRepositoryas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Initializes a
AnnotatedSagaManageras specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory.Builder
-
Initializes a
DefaultSagaManagerSpanFactoryas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Initializes a
AnnotatedSagaRepositoryas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
-
Initializes a
CachingSagaStoreas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Initializes a
JdbcSagaStoreas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Builds a new
SagaSchemafrom builder values. - build() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
-
Initializes a
JpaSagaStoreas specified through this Builder. - build() - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore.Builder
-
Deprecated.Initializes a
JpaSagaStoreas specified through this Builder. - buildAggregateModel() - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Instantiate the
AggregateModelof generic typeTdescribing the structure of the Aggregate thisRepositorywill store. - buildChainedInterceptor() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Instantiate the
MessageHandlerInterceptorMemberChainof generic typeTas the Saga type to be stored. - builder() - Static method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
-
Instantiate a Builder to be able to create a
AggregateAnnotationCommandHandler. - builder() - Static method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver
-
Instantiate a Builder to be able to create a
AnnotationCommandTargetResolver. - builder() - Static method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory
-
Creates a new
DefaultRepositorySpanFactory.Builderto build aDefaultRepositorySpanFactorywith. - builder() - Static method in class org.axonframework.modelling.saga.AnnotatedSagaManager
-
Instantiate a Builder to be able to create a
AnnotatedSagaManager. - builder() - Static method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory
-
Creates a new
DefaultSagaManagerSpanFactory.Builderto build aDefaultSagaManagerSpanFactorywith. - builder() - Static method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Instantiate a Builder to be able to create an
AnnotatedSagaRepository. - builder() - Static method in class org.axonframework.modelling.saga.repository.CachingSagaStore
-
Instantiate a Builder to be able to create a
CachingSagaStore. - builder() - Static method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
-
Instantiate a Builder to be able to create a
JdbcSagaStore. - builder() - Static method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns a new
SagaSchema.Builderinitialized with default settings. - builder() - Static method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Instantiate a Builder to be able to create a
JpaSagaStore. - builder() - Static method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Instantiate a Builder to be able to create a
JpaSagaStore. - builder(Class<T>) - Static method in class org.axonframework.modelling.command.GenericJpaRepository
-
Instantiate a Builder to be able to create a
GenericJpaRepositoryfor aggregate typeT. - builder(Class<T>) - Static method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.Instantiate a Builder to be able to create a
GenericJpaRepositoryfor aggregate typeT. - Builder() - Constructor for class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
- Builder() - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
- Builder() - Constructor for class org.axonframework.modelling.command.DefaultRepositorySpanFactory.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.AbstractSagaManager.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore.Builder
-
Deprecated.
- Builder() - Constructor for class org.axonframework.modelling.saga.repository.LockingSagaRepository.Builder
- Builder(Class<T>) - Constructor for class org.axonframework.modelling.command.AbstractRepository.Builder
-
Creates a builder for a Repository for given
aggregateType. - Builder(Class<T>) - Constructor for class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Creates a builder for a Repository for given
aggregateType. - Builder(Class<T>) - Constructor for class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Creates a builder for a Repository for given
aggregateType. - Builder(Class<T>) - Constructor for class org.axonframework.modelling.command.LockingRepository.Builder
-
Creates a builder for a Repository for given
aggregateType. - buildSagaModel() - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Instantiate the
SagaModelof generic typeTdescribing the structure of the Saga thisAbstractSagaManagerimplementation will manage. - buildSagaModel() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Instantiate the
SagaModelof generic typeTdescribing the structure of the Saga thisSagaRepositorywill store.
C
- CachingSagaStore<T> - Class in org.axonframework.modelling.saga.repository
-
Saga Repository implementation that adds caching behavior to the repository it wraps.
- CachingSagaStore(CachingSagaStore.Builder<T>) - Constructor for class org.axonframework.modelling.saga.repository.CachingSagaStore
-
Instantiate a
CachingSagaStorebased on the fields contained in theCachingSagaStore.Builder. - CachingSagaStore.Builder<T> - Class in org.axonframework.modelling.saga.repository
-
Builder class to instantiate a
CachingSagaStore. - canForward(CommandMessage<?>, P) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- canForward(CommandMessage<?>, T) - Method in interface org.axonframework.modelling.command.inspection.ForwardingCommandMessageHandlingMember
-
Check if this handler is in a state where it can currently accept the command.
- canHandle(CommandMessage<?>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
- canHandle(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- canHandle(EventMessage<?>, Segment) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager
- canHandle(Message<?>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- canHandleMessageType(Class<? extends Message>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- canResolve(ScopeDescriptor) - Method in class org.axonframework.modelling.command.AbstractRepository
- canResolve(ScopeDescriptor) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- chainedInterceptor(Class<T>) - Method in class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
- chainedInterceptor(Class<T>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaMetaModelFactory
-
Returns an Interceptor Chain of annotated interceptor methods for the given
sagaType. - ChildEntity<T> - Interface in org.axonframework.modelling.command.inspection
-
Interface describing en entity that is a child of another entity.
- ChildEntityDefinition - Interface in org.axonframework.modelling.command.inspection
-
Interface describing the definition of a Child Entity.
- ChildForwardingCommandMessageHandlingMember<P,
C> - Class in org.axonframework.modelling.command.inspection -
Implementation of a
CommandMessageHandlingMemberthat forwards commands to a child entity. - ChildForwardingCommandMessageHandlingMember(List<MessageHandlingMember<? super C>>, MessageHandlingMember<? super C>, BiFunction<CommandMessage<?>, P, C>) - Constructor for class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
-
Initializes a
ChildForwardingCommandMessageHandlingMemberthat routes commands to a compatible child entity. - clear() - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Clears all the associations.
- CommandHandlerInterceptor - Annotation Interface in org.axonframework.modelling.command
-
Annotation used to mark methods on Aggregate members which can intercept commands.
- CommandHandlerInterceptorHandlingMember<T> - Interface in org.axonframework.modelling.command.inspection
-
Deprecated.in favor of the more generic
MessageInterceptingMember - commandHandlerInterceptors() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Deprecated.
- commandHandlerInterceptors(Class<? extends T>) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Gets command handler interceptors for provided
typein this aggregate hierarchy. - commandHandlers() - Method in class org.axonframework.modelling.command.inspection.AnnotatedChildEntity
- commandHandlers() - Method in interface org.axonframework.modelling.command.inspection.ChildEntity
-
Returns the command handlers declared in this entity.
- commandHandlers() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Deprecated.
- commandHandlers(Class<? extends T>) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Gets command handlers for provided
typein this aggregate hierarchy. - commandName() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- commandNamePattern() - Element in annotation interface org.axonframework.modelling.command.CommandHandlerInterceptor
-
Will filter commands which names match this pattern and invoke handler only with those commands.
- commandTargetResolver(CommandTargetResolver) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
CommandTargetResolverused to resolve the command handling target. - CommandTargetResolver - Interface in org.axonframework.modelling.command
-
Interface towards a mechanism that is capable of extracting an Aggregate Identifier and Version form a command that identifies the aggregate instance the command should be invoked on.
- commit() - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Resets the tracked changes.
- commit() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- commit(AnnotatedSaga<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Commits the given modified
sagato the underlying saga store. - ConcurrencyException - Exception in org.axonframework.modelling.command
-
Exception indicating that concurrent access to a repository was detected.
- ConcurrencyException(String) - Constructor for exception org.axonframework.modelling.command.ConcurrencyException
-
Initialize a ConcurrencyException with the given
message. - ConcurrencyException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.ConcurrencyException
-
Initialize a ConcurrencyException with the given
messageandcause. - ConflictingAggregateVersionException - Exception in org.axonframework.modelling.command
-
Exception indicating that the (actual) version of a loaded aggregate did not match the given expected version number.
- ConflictingAggregateVersionException(String, long, long) - Constructor for exception org.axonframework.modelling.command.ConflictingAggregateVersionException
-
Initializes the exception using the given
message. - ConflictingAggregateVersionException(String, long, long, Throwable) - Constructor for exception org.axonframework.modelling.command.ConflictingAggregateVersionException
-
Initializes the exception using the given
messageandcause. - ConflictingModificationException - Exception in org.axonframework.modelling.command
-
Root of a hierarchy of exceptions indicating the detection of conflicting concurrent modifications.
- ConflictingModificationException(String) - Constructor for exception org.axonframework.modelling.command.ConflictingModificationException
-
Initializes the exception using the given
message. - ConflictingModificationException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.ConflictingModificationException
-
Initializes the exception using the given
messageandcause. - connectionProvider(ConnectionProvider) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Sets the
ConnectionProviderwhich provides access to a JDBC connection. - contains(AssociationValue) - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Indicates whether this instance contains the given
associationValue. - contains(AssociationValue) - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- create(Object) - Method in interface org.axonframework.modelling.command.CreationPolicyAggregateFactory
-
Instantiates the aggregate instance based on the provided identifier.
- create(Object) - Method in class org.axonframework.modelling.command.NoArgumentConstructorCreationPolicyAggregateFactory
-
Creates the aggregate instance based on the previously provided type.
- CREATE_IF_MISSING - Enum constant in enum class org.axonframework.modelling.command.AggregateCreationPolicy
-
Create a new instance of the aggregate when it is not found.
- createChildDefinition(Member, EntityModel<T>) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
- createChildDefinition(Member, EntityModel<T>) - Method in interface org.axonframework.modelling.command.inspection.ChildEntityDefinition
-
Inspect the given
member, which is declared on the givendeclaringEntityfor the presence of a Child Entity. - createCreateSagaInstanceSpan(EventMessage<?>, Class<?>, String) - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory
- createCreateSagaInstanceSpan(EventMessage<?>, Class<?>, String) - Method in interface org.axonframework.modelling.saga.SagaManagerSpanFactory
-
Creates a span that represents the creation of a new saga instance.
- createInitializeStateSpan(String, String) - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory
- createInitializeStateSpan(String, String) - Method in interface org.axonframework.modelling.command.RepositorySpanFactory
-
Creates a span that represents the time it took to hydrate the aggregate with data from, for example, the event store.
- createInstance(String, Supplier<T>) - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository
-
Creates a new Saga instance.
- createInstance(String, Supplier<T>) - Method in interface org.axonframework.modelling.saga.SagaRepository
-
Creates a new Saga instance.
- createInvokeSagaSpan(EventMessage<?>, Class<?>, Saga<?>) - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory
- createInvokeSagaSpan(EventMessage<?>, Class<?>, Saga<?>) - Method in interface org.axonframework.modelling.saga.SagaManagerSpanFactory
-
Creates a span that represents the invocation of a saga.
- createLoadSpan(String) - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory
- createLoadSpan(String) - Method in interface org.axonframework.modelling.command.RepositorySpanFactory
-
Creates a span that represents the loading of an aggregate with the provided identifier.
- createMessage(P, MetaData) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Creates an
EventMessagewith givenpayloadandmetaData. - createModel(Class<? extends T>) - Method in interface org.axonframework.modelling.command.inspection.AggregateMetaModelFactory
-
Create an Aggregate meta model for the given
aggregateType. - createModel(Class<? extends T>, Set<Class<? extends T>>) - Method in interface org.axonframework.modelling.command.inspection.AggregateMetaModelFactory
-
Create an Aggregate meta model for the given
aggregateTypeand providedsubtypes. - createModel(Class<? extends T>, Set<Class<? extends T>>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
- createNew(Class<T>, Callable<T>) - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Creates a new aggregate instance.
- createObtainLockSpan(String) - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory
- createObtainLockSpan(String) - Method in interface org.axonframework.modelling.command.RepositorySpanFactory
-
Creates a span that represents the time waiting to acquire a lock on an aggregate with the provided identifier.
- createSagaEntry(Object, String, Serializer) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Intended for clients to override.
- createSagaEntry(Object, String, Serializer) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Intended for clients to override.
- createSagaIdentifier(Segment) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
-
Creates a Saga identifier that will cause a Saga instance to be considered part of the given
segment. - createSchema() - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
-
Creates the SQL Schema required to store Sagas and their associations.
- creationPolicy() - Method in interface org.axonframework.modelling.command.inspection.CreationPolicyMember
-
Returns the creation policy set on the
MessageHandlingMember. - CreationPolicy - Annotation Interface in org.axonframework.modelling.command
-
Annotation used to specify the creation policy for a command handler.
- creationPolicyAggregateFactory(CreationPolicyAggregateFactory<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
CreationPolicyAggregateFactory<T>for generic typeT. - CreationPolicyAggregateFactory<A> - Interface in org.axonframework.modelling.command
-
Interface to describe a way to create Aggregate instances based on an identifier when an instance has to be created in order to be used in Command handlers annotated with
CreationPolicy. - CreationPolicyMember<T> - Interface in org.axonframework.modelling.command.inspection
-
Interface specifying a message handler containing a creation policy definition.
D
- dataSource(DataSource) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Sets the
ConnectionProviderby providing aDataSource. - declaredType(Class<?>) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
-
Gets the declared aggregate type based on given class
type. - declaredTypeOf(Class<?>) - Static method in class org.axonframework.modelling.command.inspection.AggregateTypeUtils
-
Resolves the declared type of the given aggregate
type. - DefaultRepositorySpanFactory - Class in org.axonframework.modelling.command
-
Default implementation of the
RepositorySpanFactory. - DefaultRepositorySpanFactory(DefaultRepositorySpanFactory.Builder) - Constructor for class org.axonframework.modelling.command.DefaultRepositorySpanFactory
-
Creates a new
DefaultRepositorySpanFactoryusing the providedbuilder. - DefaultRepositorySpanFactory.Builder - Class in org.axonframework.modelling.command
-
Builder class to instantiate a
DefaultRepositorySpanFactory. - DefaultSagaManagerSpanFactory - Class in org.axonframework.modelling.saga
-
Default implementation of the
SagaManagerSpanFactory. - DefaultSagaManagerSpanFactory(DefaultSagaManagerSpanFactory.Builder) - Constructor for class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory
-
Creates a new
DefaultSagaManagerSpanFactoryusing the providedbuilder. - DefaultSagaManagerSpanFactory.Builder - Class in org.axonframework.modelling.saga
-
Builder class to instantiate a
DefaultSagaManagerSpanFactory. - delegateSagaStore(SagaStore<T>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
-
Sets the
SagaStoreinstance providing access to (persisted) entries. - deleteSaga(Class<?>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- deleteSaga(Class<?>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
- deleteSaga(Class<?>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- deleteSaga(Class<?>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- deleteSaga(Class<? extends T>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
- deleteSaga(Class<? extends T>, String, Set<AssociationValue>) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
-
Deletes a Saga with given
sagaTypeandsagaIdentifierand all its associations. - deleteSaga(AnnotatedSaga<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Remove the given saga as well as all known association values pointing to it from the repository.
- describeScope() - Method in class org.axonframework.modelling.command.AggregateLifecycle
- describeScope() - Method in class org.axonframework.modelling.saga.SagaLifecycle
- disableSequenceNumberGeneration() - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Disables sequence number generation within this
Repositoryimplementation. - disableSequenceNumberGeneration() - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Disables sequence number generation within this
Repositoryimplementation. - doApply(P, MetaData) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- doApply(T, MetaData) - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Apply a
DomainEventMessagewith given payload and metadata (metadata from interceptors will be combined with the provided metadata). - doAssociateWith(AssociationValue) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
-
Registers a AssociationValue with the given saga.
- doAssociateWith(AssociationValue) - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
SagaLifecycleinstance method to register the givenassociationValue. - doCreateInstance(String, Supplier<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
- doCreateInstance(String, Supplier<T>) - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository
-
Creates a new Saga instance.
- doCreateNew(Class<R>, Callable<R>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- doCreateNew(Class<T>, Callable<T>) - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Creates a new aggregate instance.
- doCreateNew(Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Creates a new aggregate instance using the given
factoryMethod. - doCreateNew(Callable<T>) - Method in class org.axonframework.modelling.command.LockingRepository
- doCreateNewForLock(Callable<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository
- doCreateNewForLock(Callable<T>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.
- doCreateNewForLock(Callable<T>) - Method in class org.axonframework.modelling.command.LockingRepository
-
Creates a new aggregate instance using the given
factoryMethod. - doDelete(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Removes the aggregate from the repository.
- doDelete(LockAwareAggregate<T, A>) - Method in class org.axonframework.modelling.command.LockingRepository
-
Verifies whether all locks are valid and delegates to
LockingRepository.doDeleteWithLock(Aggregate)to perform actual deleting. - doDeleteWithLock(A) - Method in class org.axonframework.modelling.command.LockingRepository
-
Perform the actual deleting of the aggregate.
- doDeleteWithLock(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository
- doDeleteWithLock(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.
- doEnd() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
-
Marks the saga as ended.
- doEnd() - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
SagaLifecycleinstance method to mark the current saga as ended. - doLoad(String) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
- doLoad(String) - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository
-
Loads a known Saga instance by its unique identifier.
- doLoad(String, Long) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Loads and initialized the aggregate with the given aggregateIdentifier.
- doLoad(String, Long) - Method in class org.axonframework.modelling.command.LockingRepository
-
Perform the actual loading of an aggregate.
- doLoadOrCreate(String, Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Loads an aggregate from the reporsitory.
- doLoadOrCreate(String, Callable<T>) - Method in class org.axonframework.modelling.command.LockingRepository
- doLoadSaga(String) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Loads the saga with given
sagaIdentifierfrom the underlying saga store and returns it as aAnnotatedSaga. - doLoadWithLock(String, Long) - Method in class org.axonframework.modelling.command.GenericJpaRepository
- doLoadWithLock(String, Long) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.
- doLoadWithLock(String, Long) - Method in class org.axonframework.modelling.command.LockingRepository
-
Loads the aggregate with the given aggregateIdentifier.
- doMarkDeleted() - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Marks this aggregate as deleted.
- doMarkDeleted() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- doRemoveAssociation(AssociationValue) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
-
Removes the given association from this Saga.
- doRemoveAssociation(AssociationValue) - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
SagaLifecycleinstance method to remove the givenassociationValue. - doSave(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Performs the actual saving of the aggregate.
- doSave(LockAwareAggregate<T, A>) - Method in class org.axonframework.modelling.command.LockingRepository
-
Verifies whether all locks are valid and delegates to
LockingRepository.doSaveWithLock(Aggregate)to perform actual storage. - doSaveWithLock(A) - Method in class org.axonframework.modelling.command.LockingRepository
-
Perform the actual saving of the aggregate.
- doSaveWithLock(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository
- doSaveWithLock(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.
E
- end() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Marks the saga as ended.
- EndSaga - Annotation Interface in org.axonframework.modelling.saga
-
Indicates that the annotated
SagaEventHandlermethod indicates the end of a Saga instance's lifecycle. - EndSagaMessageHandlerDefinition - Class in org.axonframework.modelling.saga
-
A
HandlerEnhancerDefinitioninspecting the existence of theEndSagaannotation onMessageHandlingMembers. - EndSagaMessageHandlerDefinition() - Constructor for class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition
- EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember<T> - Class in org.axonframework.modelling.saga
-
A
WrappedMessageHandlingMemberimplementation dedicated towardsMessageHandlingMembers annotated withEndSaga. - EndSageMessageHandlingMember(MessageHandlingMember<T>) - Constructor for class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember
-
Initializes the member using the given
delegate. - entityClass() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Returns the class this model describes
- EntityId - Annotation Interface in org.axonframework.modelling.command
- entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Sets the
EntityManagerProviderwhich provides theEntityManagerinstance for this repository. - entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
-
Sets the
EntityManagerProviderwhich provides theEntityManagerused to access the underlying database. - entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Sets the
EntityManagerProviderwhich provides theEntityManagerinstance for this repository. - entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore.Builder
-
Deprecated.Sets the
EntityManagerProviderwhich provides theEntityManagerused to access the underlying database. - EntityModel<T> - Interface in org.axonframework.modelling.command.inspection
-
Interface of an entity model that describes the properties and capabilities of an entity of type
T. - equals(Object) - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
- equals(Object) - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
- equals(Object) - Method in class org.axonframework.modelling.saga.AssociationValue
- equals(Object) - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
- eventBus(EventBus) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Sets the
EventBusto which events are published. - eventBus(EventBus) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Sets the
EventBusto which events are published. - eventForwardingMode() - Element in annotation interface org.axonframework.modelling.command.AggregateMember
-
Indicates the forwarding mode used for events within this entity.
- execute(Runnable) - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Executes the given task.
- execute(Runnable) - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
SagaLifecycleinstance method to execute giventaskin the context of this SagaLifeCycle. - execute(Consumer<AR>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
- execute(Consumer<T>) - Method in interface org.axonframework.modelling.command.Aggregate
-
Execute a method on the underlying aggregate or one of its instances.
- execute(Consumer<T>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- execute(Consumer<T>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- execute(Consumer<T>) - Method in interface org.axonframework.modelling.saga.Saga
-
Execute the given
invocationagainst the root object of this Saga instance. - extractAssociationValues(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
-
Extracts the AssociationValues from the given
eventas relevant for a Saga of givensagaType. - extractAssociationValues(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager
- extractChildEntityModel(EntityModel<T>, Map<String, Object>, Member) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Extracts the Child Entity contained in the given
declaringEntityas anEntityModel. - extractChildEntityModel(EntityModel<T>, Map<String, Object>, Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
- extractChildEntityModel(EntityModel<T>, Map<String, Object>, Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
- extractChildEntityModel(EntityModel<T>, Map<String, Object>, Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
- extractCommandHandlerRoutingKeys(Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Retrieves the routing keys of every command handler on the given
childEntityModelto be able to correctly route commands to Entities.
F
- filterCandidates(T, Stream<E>) - Method in interface org.axonframework.modelling.command.ForwardingMode
- filterCandidates(T, Stream<E>) - Method in class org.axonframework.modelling.command.ForwardMatchingInstances
- filterCandidates(T, Stream<E>) - Method in class org.axonframework.modelling.command.ForwardNone
- filterCandidates(T, Stream<E>) - Method in class org.axonframework.modelling.command.ForwardToAll
- find(AssociationValue) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
- find(AssociationValue) - Method in interface org.axonframework.modelling.saga.SagaRepository
-
Find saga instances of the given
typethat have been associated with the givenassociationValue. - findHandlerMethods(EventMessage<?>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaModel
-
Returns a
ListofMessageHandlingMemberthat can handle the given event. - findResource(Class<R>) - Method in class org.axonframework.modelling.saga.AbstractResourceInjector
-
Returns a resource of given
requiredTypeor an empty Optional if the resource is not registered with the injector. - findResource(Class<R>) - Method in class org.axonframework.modelling.saga.SimpleResourceInjector
- findSagas(Class<?>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- findSagas(Class<?>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
- findSagas(Class<?>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- findSagas(Class<?>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- findSagas(Class<? extends T>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
- findSagas(Class<? extends T>, AssociationValue) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
-
Returns identifiers of saga instances of the given
sagaTypethat have been associated with the givenassociationValue. - findSagas(String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Returns the identifiers of the Sagas that have been associated with the given
associationValue. - forceNew() - Element in annotation interface org.axonframework.modelling.saga.StartSaga
-
Indicates whether or not to force creation of a Saga, even if one already exists.
- forwardCommands() - Element in annotation interface org.axonframework.modelling.command.AggregateMember
-
Indicates whether commands should be forwarded to this AggregateMember.
- ForwardingCommandMessageHandlingMember<T> - Interface in org.axonframework.modelling.command.inspection
-
Interface describing a message handler capable of forwarding a specific command.
- ForwardingMode<T extends org.axonframework.messaging.Message<?>> - Interface in org.axonframework.modelling.command
-
Interface describing the required functionality to forward a message.
- ForwardMatchingInstances<T extends org.axonframework.messaging.Message<?>> - Class in org.axonframework.modelling.command
-
Only forward messages of type
Tif the routing key of the message matches that of the entity. - ForwardMatchingInstances() - Constructor for class org.axonframework.modelling.command.ForwardMatchingInstances
- ForwardNone<T extends org.axonframework.messaging.Message<?>> - Class in org.axonframework.modelling.command
-
Forward no messages
Tregardless of their set up. - ForwardNone() - Constructor for class org.axonframework.modelling.command.ForwardNone
- ForwardToAll<T extends org.axonframework.messaging.Message<?>> - Class in org.axonframework.modelling.command
-
Forward all messages
Tregardless of their set up. - ForwardToAll() - Constructor for class org.axonframework.modelling.command.ForwardToAll
G
- GenericJpaRepository<T> - Class in org.axonframework.modelling.command
-
Generic repository implementation that stores JPA annotated aggregates.
- GenericJpaRepository<T> - Class in org.axonframework.modelling.command.legacyjpa
-
Deprecated.in favor of using
GenericJpaRepositorywhich moved to jakarta. - GenericJpaRepository(GenericJpaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.command.GenericJpaRepository
-
Instantiate a
GenericJpaRepositorybased on the fields contained in theGenericJpaRepository.Builder. - GenericJpaRepository(GenericJpaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.Instantiate a
GenericJpaRepositorybased on the fields contained in theGenericJpaRepository.Builder. - GenericJpaRepository.Builder<T> - Class in org.axonframework.modelling.command
-
Builder class to instantiate a
GenericJpaRepositoryfor aggregate typeT. - GenericJpaRepository.Builder<T> - Class in org.axonframework.modelling.command.legacyjpa
-
Deprecated.Builder class to instantiate a
GenericJpaRepositoryfor aggregate typeT. - GenericSagaSqlSchema - Class in org.axonframework.modelling.saga.repository.jdbc
-
Generic SagaSqlSchema implementation, for use in most databases.
- GenericSagaSqlSchema() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
-
Initialize a GenericSagaSqlSchema using default settings.
- GenericSagaSqlSchema(SagaSchema) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
-
Initialize a GenericSagaSqlSchema.
- getActualVersion() - Method in exception org.axonframework.modelling.command.ConflictingAggregateVersionException
-
Returns the actual version of the aggregate, as loaded by the repository.
- getAggregateIdentifier() - Method in exception org.axonframework.modelling.command.AggregateNotFoundException
-
Returns the identifier of the aggregate that could not be found.
- getAggregateIdentifier() - Method in exception org.axonframework.modelling.command.AggregateRolledBackException
-
Returns the identifier of the compromised aggregate.
- getAggregateIdentifier() - Method in exception org.axonframework.modelling.command.ConflictingAggregateVersionException
-
Returns the identifier of the aggregate which version is not as expected.
- getAggregateRoot() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Get the annotated aggregate instance.
- getAggregateType() - Method in class org.axonframework.modelling.command.AbstractRepository
-
Returns the aggregate type stored by this repository.
- getAssociationValue() - Method in class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
Returns the association value contained in this entry.
- getAssociationValue(EventMessage<?>) - Method in class org.axonframework.modelling.saga.SagaMethodMessageHandlingMember
-
The AssociationValue to find the saga instance with, or
nullif no AssociationValue can be found on the giveneventMessage. - getAssociationValues() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- getAssociationValues() - Method in interface org.axonframework.modelling.saga.Saga
-
Returns a view on the Association Values for this saga instance.
- getAssociationValues() - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
SagaLifecycleinstance method to retrieve theAssociationValuesof the currently active Saga. - getCreationPolicy() - Method in class org.axonframework.modelling.saga.SagaInitializationPolicy
-
Returns the creation policy
- getCreationPolicy() - Method in class org.axonframework.modelling.saga.SagaMethodMessageHandlingMember
-
Returns the creation policy of the inspected method.
- getExpectedVersion() - Method in exception org.axonframework.modelling.command.ConflictingAggregateVersionException
-
Returns the version expected by the component loading the aggregate.
- getId() - Method in class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
The unique identifier of this entry.
- getIdentifier() - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
-
The identifier of the Aggregate targeted with this scope
- getIdentifier() - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Returns the string representation of the identifier of the targeted Aggregate.
- getIdentifier() - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
-
The identifier of the Saga targeted with this scope
- getIdentifier(T) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Get the identifier of the given
targetentity. - getIdentifierValue() - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Returns the object representation of the identifier of the targeted Aggregate.
- getInitialAssociationValue() - Method in class org.axonframework.modelling.saga.SagaInitializationPolicy
-
Returns the initial association value for a newly created saga.
- getInstance() - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Get the current
AggregateLifecycleinstance for the current thread. - getInstance() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Get the current
SagaLifecycleinstance for the current thread. - getIsLive() - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Indicates whether this Aggregate instance is 'live'.
- getIsLive() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- getKey() - Method in class org.axonframework.modelling.saga.AssociationValue
-
Returns the key of this association value.
- getRevision() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Returns the revision of the serialized saga
- getRevision() - Method in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Returns the revision of the serialized saga
- getSagaCreationPolicy(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
-
Returns the Saga Initialization Policy for a Saga of the given
sagaTypeandevent. - getSagaCreationPolicy(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager
- getSagaId() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Returns the identifier of the saga contained in this entry
- getSagaId() - Method in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Returns the identifier of the saga contained in this entry
- getSagaIdentifier() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- getSagaIdentifier() - Method in class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
Returns the Saga Identifier contained in this entry.
- getSagaIdentifier() - Method in interface org.axonframework.modelling.saga.Saga
-
Returns the unique identifier of this saga.
- getSagaIdentifier() - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
Retrieve a
Stringdenoting the identifier of this Saga. - getSagaType() - Method in class org.axonframework.modelling.saga.AbstractSagaManager
-
Returns the class of Saga managed by this SagaManager
- getSagaType() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Returns the type identifier of the serialized saga
- getSagaType() - Method in class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
-
Returns the type (fully qualified class name) of the Saga this association value belongs to
- getSagaType() - Method in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Returns the type identifier of the serialized saga
- getSerializedSaga() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.Returns the serialized form of the Saga.
- getSerializedSaga() - Method in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Returns the serialized form of the Saga.
- getType() - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
-
Returns the type of Aggregate, as String, targeted by this scope
- getType() - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
-
The type of Saga described by this scope
- getValue() - Method in class org.axonframework.modelling.saga.AssociationValue
-
Returns the value of this association.
- getVersion() - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Gets the version of the aggregate.
- getVersion() - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Returns the version of the targeted Aggregate, or
nullif the version is irrelevant. - getVersion(T) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
-
Get the current version number of the given
aggregate. - getWrappedAggregate() - Method in class org.axonframework.modelling.command.LockAwareAggregate
-
Get the delegate aggregate wrapped by this instance.
H
- handle(CommandMessage<?>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
- handle(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- handle(EventMessage<?>, Segment) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- handle(Message<?>) - Method in interface org.axonframework.modelling.command.Aggregate
-
Handle the given
messageon the aggregate root or one of its child entities. - handle(Message<?>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- handle(Message<?>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
- handle(Message<?>, P) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- handle(Message<?>, T) - Method in class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember
- handle(Message<?>, T) - Method in class org.axonframework.modelling.saga.SagaMethodMessageHandlingMember
- handle(UnitOfWork<? extends CommandMessage<?>>, InterceptorChain) - Method in class org.axonframework.modelling.command.inspection.AnnotatedCommandHandlerInterceptor
- handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets the
HandlerDefinitionused to create concrete handlers for the givenaggregateType. - handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
HandlerDefinitionused to create concrete handlers for the givenaggregateType. - handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
- handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Sets the
HandlerDefinitionused to create concrete handlers for the givensagaType. - handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
HandlerDefinitionused to create concrete handlers for the givensagaType. - hasAnnotation(Class<? extends Annotation>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- hasHandlerMethod(EventMessage<?>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaModel
-
Indicates whether the Saga described by this model has a handler for the given
eventMessage - hashCode() - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
- hashCode() - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
- hashCode() - Method in class org.axonframework.modelling.saga.AssociationValue
- hashCode() - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
- HsqlSagaSqlSchema - Class in org.axonframework.modelling.saga.repository.jdbc
-
Specialization of the GenericSagaSqlSchema for use in the HSQL database.
- HsqlSagaSqlSchema() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.HsqlSagaSqlSchema
I
- identifier() - Method in interface org.axonframework.modelling.command.Aggregate
-
Get the unique identifier of this aggregate
- identifier() - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Retrieve a
Objectdenoting the identifier of this Aggregate. - identifier() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- identifier() - Method in class org.axonframework.modelling.command.LockAwareAggregate
- identifierAsString() - Method in interface org.axonframework.modelling.command.Aggregate
-
Get the unique identifier of this aggregate, represented as a String.
- identifierConverter(Function<String, ?>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- identifierConverter(Function<String, ?>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- IdentifierMissingException - Exception in org.axonframework.modelling.command
-
Exception indicating that a required identifier is missing in the processed message.
- IdentifierMissingException(String) - Constructor for exception org.axonframework.modelling.command.IdentifierMissingException
-
Constructs an exception based on the given
message. - IF_NONE_FOUND - Enum constant in enum class org.axonframework.modelling.saga.SagaCreationPolicy
-
Only create a new Saga instance if none can be found.
- initialize(Member, EntityModel) - Method in interface org.axonframework.modelling.command.ForwardingMode
-
Initializes an instance of a
ForwardingMode. - initialize(Member, EntityModel) - Method in class org.axonframework.modelling.command.ForwardMatchingInstances
- initialize(Callable<T>, AggregateModel<T>, EventBus) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate created by the given
aggregateFactorywhich is described in the givenaggregateModel. - initialize(Callable<T>, AggregateModel<T>, EventBus, boolean) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate created by the given
aggregateFactorywhich is described in the givenaggregateModel. - initialize(Callable<T>, AggregateModel<T>, EventBus, RepositoryProvider) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate created by the given
aggregateFactorywhich is described in the givenaggregateModel. - initialize(Callable<T>, AggregateModel<T>, EventBus, RepositoryProvider, boolean) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate created by the given
aggregateFactorywhich is described in the givenaggregateModel. - initialize(T, AggregateModel<T>, EventBus) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate with the given
aggregateRootwhich is described in the givenaggregateModel. - initialize(T, AggregateModel<T>, EventBus, RepositoryProvider) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Initialize an aggregate with the given
aggregateRootwhich is described in the givenaggregateModel. - initSequence() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Enable sequences on this Aggregate, causing it to emit DomainEventMessages, starting at sequence 0.
- initSequence(long) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Enable sequences on this Aggregate, causing it to emit DomainEventMessages based on the given
lastKnownSequenceNumber. - injectorAnnotationNames() - Method in class org.axonframework.modelling.saga.AbstractResourceInjector
-
Provides an array with fully qualified class names of the annotation that indicate an injection point for a resource.
- injectResources(Object) - Method in class org.axonframework.modelling.saga.AbstractResourceInjector
- injectResources(Object) - Method in enum class org.axonframework.modelling.saga.repository.NoResourceInjector
- injectResources(Object) - Method in interface org.axonframework.modelling.saga.ResourceInjector
-
Inject required resources into the given
saga. - InMemorySagaStore - Class in org.axonframework.modelling.saga.repository.inmemory
-
SagaRepository implementation that stores all Saga instances in memory.
- InMemorySagaStore() - Constructor for class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- insertSaga(Class<?>, String, Object, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- insertSaga(Class<?>, String, Object, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
- insertSaga(Class<?>, String, Object, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- insertSaga(Class<?>, String, Object, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- insertSaga(Class<? extends T>, String, T, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
- insertSaga(Class<? extends T>, String, T, Set<AssociationValue>) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
-
Adds a new Saga and its initial association values to the store.
- inspectAggregate(Class<T>) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Shorthand to create a factory instance and inspect the model for the given
aggregateType. - inspectAggregate(Class<T>, Set<Class<? extends T>>) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Shorthand to create a factory instance and inspect the model for the given
aggregateTypeand itssubtypes. - inspectAggregate(Class<T>, ParameterResolverFactory) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Shorthand to create a factory instance and inspect the model for the given
aggregateType, using givenparameterResolverFactoryto resolve parameter values for annotated handlers. - inspectAggregate(Class<T>, ParameterResolverFactory, HandlerDefinition) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Shorthand to create a factory instance and inspect the model for the given
aggregateType, using givenparameterResolverFactoryto resolve parameter values for annotated handlers andhandlerDefinitionto create concrete handlers. - inspectAggregate(Class<T>, ParameterResolverFactory, HandlerDefinition, Set<Class<? extends T>>) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
-
Shorthand to create a factory instance and inspect the model for the given
aggregateTypeand itssubytpes, using givenparameterResolverFactoryto resolve parameter values for annotated handlers andhandlerDefinitionto create concrete handlers. - inspector - Variable in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- INSTANCE - Enum constant in enum class org.axonframework.modelling.saga.repository.NoResourceInjector
-
The singleton NoResourceInjector instance
- interceptorMemberChain(MessageHandlerInterceptorMemberChain<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
MessageHandlerInterceptorMemberChainof generic typeT, describing the structure of the Saga thisSagaRepositoryimplementation will store. - invoke(Function<AR, R>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
- invoke(Function<T, R>) - Method in interface org.axonframework.modelling.command.Aggregate
-
Invoke a method on the underlying aggregate root or one of its instances.
- invoke(Function<T, R>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- invoke(Function<T, R>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- invoke(Function<T, R>) - Method in interface org.axonframework.modelling.saga.Saga
-
Execute the given
invocationagainst the root object of this Saga instance. - isActive() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- isActive() - Method in interface org.axonframework.modelling.saga.Saga
-
Indicates whether or not this saga is active.
- isDeleted() - Method in interface org.axonframework.modelling.command.Aggregate
-
Check if this aggregate has been deleted.
- isDeleted() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- isDeleted() - Method in class org.axonframework.modelling.command.LockAwareAggregate
- isEmpty() - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Indicates whether any elements are contained within this map.
- isFactoryHandler() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- isFieldTypeSupported(Field) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Deprecated.
- isLive() - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Indicates whether this Aggregate instance is 'live'.
- isLockHeld() - Method in class org.axonframework.modelling.command.LockAwareAggregate
-
Check if the aggregate currently holds a lock.
- isMemberTypeSupported(Member) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Check whether the given
Memberis of a type supported by this definition. - isMemberTypeSupported(Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
- isMemberTypeSupported(Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
- isMemberTypeSupported(Member) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
- iterator() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
J
- JdbcSagaStore - Class in org.axonframework.modelling.saga.repository.jdbc
-
A
SagaStoreimplementation that uses JDBC to store and find Saga instances. - JdbcSagaStore(JdbcSagaStore.Builder) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
-
Instantiate a
JdbcSagaStorebased on the fields contained in theJdbcSagaStore.Builder. - JdbcSagaStore.Builder - Class in org.axonframework.modelling.saga.repository.jdbc
-
Builder class to instantiate a
JdbcSagaStore. - JpaSagaStore - Class in org.axonframework.modelling.saga.repository.jpa
-
JPA implementation of the
SagaStore. - JpaSagaStore - Class in org.axonframework.modelling.saga.repository.legacyjpa
-
Deprecated.in favor of using
JpaSagaStorewhich moved to jakarta. - JpaSagaStore(JpaSagaStore.Builder) - Constructor for class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Instantiate a
JpaSagaStorebased on the fields contained in theJpaSagaStore.Builder. - JpaSagaStore(JpaSagaStore.Builder) - Constructor for class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Instantiate a
JpaSagaStorebased on the fields contained in theJpaSagaStore.Builder. - JpaSagaStore.Builder - Class in org.axonframework.modelling.saga.repository.jpa
-
Builder class to instantiate a
JpaSagaStore. - JpaSagaStore.Builder - Class in org.axonframework.modelling.saga.repository.legacyjpa
-
Deprecated.Builder class to instantiate a
JpaSagaStore.
K
- keyName() - Element in annotation interface org.axonframework.modelling.saga.SagaEventHandler
-
The key in the AssociationValue to use.
L
- lastSequence() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Returns the last sequence of any event published, or
nullif no events have been published yet. - listenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Sets the
ListenerInvocationErrorHandlerinvoked when an error occurs. - listenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- load(String) - Method in class org.axonframework.modelling.command.AbstractRepository
- load(String) - Method in interface org.axonframework.modelling.command.Repository
-
Load the aggregate with the given unique identifier.
- load(String) - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository
-
Loads a known Saga instance by its unique identifier.
- load(String) - Method in interface org.axonframework.modelling.saga.SagaRepository
-
Loads a known Saga instance by its unique identifier.
- load(String, Long) - Method in class org.axonframework.modelling.command.AbstractRepository
- load(String, Long) - Method in interface org.axonframework.modelling.command.Repository
-
Load the aggregate with the given unique identifier.
- loadAssociationValues(EntityManager, Class<?>, String) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- loadAssociationValues(EntityManager, Class<?>, String) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- loadOrCreate(String, Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
- loadOrCreate(String, Callable<T>) - Method in interface org.axonframework.modelling.command.Repository
-
Loads an aggregate from the repository.
- loadSaga(Class<S>, String) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
- loadSaga(Class<S>, String) - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- loadSaga(Class<S>, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
- loadSaga(Class<S>, String) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- loadSaga(Class<S>, String) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- loadSaga(Class<S>, String) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
- LockAwareAggregate<AR,
A extends Aggregate<AR>> - Class in org.axonframework.modelling.command -
Aggregate implementation that provides access to the lock held by the aggregate while a command is handled.
- LockAwareAggregate(A, Supplier<Lock>) - Constructor for class org.axonframework.modelling.command.LockAwareAggregate
- LockAwareAggregate(A, Lock) - Constructor for class org.axonframework.modelling.command.LockAwareAggregate
- lockFactory(LockFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- lockFactory(LockFactory) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- lockFactory(LockFactory) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
-
Sets the
LockFactoryused to lock an aggregate. - lockFactory(LockFactory) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
- lockFactory(LockFactory) - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository.Builder
-
Sets the
LockFactoryused to lock a saga. - LockingRepository<T,
A extends Aggregate<T>> - Class in org.axonframework.modelling.command -
Implementation of the Repository interface that takes provides a locking mechanism to prevent concurrent modifications of persisted aggregates.
- LockingRepository(LockingRepository.Builder<T>) - Constructor for class org.axonframework.modelling.command.LockingRepository
-
Instantiate a
LockingRepositorybased on the fields contained in theLockingRepository.Builder. - LockingRepository.Builder<T> - Class in org.axonframework.modelling.command
-
Abstract Builder class to instantiate
LockingRepositoryimplementations. - LockingSagaRepository<T> - Class in org.axonframework.modelling.saga.repository
-
Abstract implementation of a saga repository that locks access to a saga while the saga is being operated on.
- LockingSagaRepository(LockingSagaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.saga.repository.LockingSagaRepository
-
Instantiate a
LockingSagaRepositorybased on the fields contained in theLockingSagaRepository.Builder. - LockingSagaRepository.Builder<T> - Class in org.axonframework.modelling.saga.repository
-
Abstract Builder class to instantiate
LockingSagaRepositoryimplementations.
M
- managedAggregates(UnitOfWork<?>) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Returns the map of aggregates currently managed by this repository under the given unit of work.
- markDeleted() - Static method in class org.axonframework.modelling.command.AggregateLifecycle
-
Marks this aggregate as deleted, instructing a repository to remove that aggregate at an appropriate time.
- matchesSegment(Segment, String) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
-
Checks whether the given
sagaIdmatches with the givensegment. - MetaDataAssociationResolver - Class in org.axonframework.modelling.saga
-
Used to derive the value of an association property by looking it up the event message's
MetaData. - MetaDataAssociationResolver() - Constructor for class org.axonframework.modelling.saga.MetaDataAssociationResolver
- MetaDataCommandTargetResolver - Class in org.axonframework.modelling.command
-
CommandTargetResolver implementation that uses MetaData entries to extract the identifier and optionally the version of the aggregate that the command targets.
- MetaDataCommandTargetResolver(String) - Constructor for class org.axonframework.modelling.command.MetaDataCommandTargetResolver
-
Initializes the MetaDataCommandTargetResolver to use the given
identifierKeyas the MetaData key to the aggregate identifier, and anull(ignored) version. - MetaDataCommandTargetResolver(String, String) - Constructor for class org.axonframework.modelling.command.MetaDataCommandTargetResolver
-
Initializes the MetaDataCommandTargetResolver to use the given
identifierKeyas the MetaData key to the aggregate identifier, and the givenversionKeyas key to the (optional) version entry. - MethodCommandHandlerInterceptorDefinition - Class in org.axonframework.modelling.command.inspection
-
Implementation of
HandlerEnhancerDefinitionused forCommandHandlerInterceptorannotated methods. - MethodCommandHandlerInterceptorDefinition() - Constructor for class org.axonframework.modelling.command.inspection.MethodCommandHandlerInterceptorDefinition
- MethodCreationPolicyDefinition - Class in org.axonframework.modelling.command.inspection
-
Implementation of
HandlerEnhancerDefinitionused forCreationPolicyannotated methods. - MethodCreationPolicyDefinition() - Constructor for class org.axonframework.modelling.command.inspection.MethodCreationPolicyDefinition
- modelFactory() - Method in interface org.axonframework.modelling.saga.metamodel.SagaModel
-
Returns the factory that created this model.
- modelOf(Class<? extends C>) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Get the EntityModel of an entity of type
childEntityTypein case it is the child of the modeled entity. - modelOf(Class<T>) - Method in class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
- modelOf(Class<T>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaMetaModelFactory
-
Create a saga meta model for the given
sagaType.
N
- NEVER - Enum constant in enum class org.axonframework.modelling.command.AggregateCreationPolicy
-
Expect instance of the aggregate to exist.
- newInstance(Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
- newInstance(Callable<T>) - Method in interface org.axonframework.modelling.command.Repository
-
Creates a new managed instance for the aggregate, using the given
factoryMethodto instantiate the aggregate's root. - newInstance(Callable<T>, Consumer<Aggregate<T>>) - Method in class org.axonframework.modelling.command.AbstractRepository
- newInstance(Callable<T>, Consumer<Aggregate<T>>) - Method in interface org.axonframework.modelling.command.Repository
-
Creates a new managed instance for the aggregate, using the given
factoryMethodto instantiate the aggregate's root, and then applying theinitMethodconsumer to it to perform additional initialization. - NoArgumentConstructorCreationPolicyAggregateFactory<A> - Class in org.axonframework.modelling.command
-
Default implementation of
CreationPolicyAggregateFactorythat invokes the default, no-arguments constructor of the aggregate classA. - NoArgumentConstructorCreationPolicyAggregateFactory(Class<? extends A>) - Constructor for class org.axonframework.modelling.command.NoArgumentConstructorCreationPolicyAggregateFactory
-
Construct an instance of the
NoArgumentConstructorCreationPolicyAggregateFactoryfor the given type. - NONE - Enum constant in enum class org.axonframework.modelling.saga.SagaCreationPolicy
-
Never create a new Saga instance, even if none exists.
- NONE - Static variable in class org.axonframework.modelling.saga.SagaInitializationPolicy
-
Value indicating there is no Initialization required
- NoResourceInjector - Enum Class in org.axonframework.modelling.saga.repository
-
ResourceInjector that does not inject anything.
O
- Oracle11SagaSqlSchema - Class in org.axonframework.modelling.saga.repository.jdbc
-
Oracle 11 does not support AUTO_INCREMENT.
- Oracle11SagaSqlSchema(SagaSchema) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.Oracle11SagaSqlSchema
-
Initialize a Oracle11SagaSqlSchema using the given
sagaSchema. - org.axonframework.modelling.command - package org.axonframework.modelling.command
- org.axonframework.modelling.command.inspection - package org.axonframework.modelling.command.inspection
- org.axonframework.modelling.command.legacyjpa - package org.axonframework.modelling.command.legacyjpa
- org.axonframework.modelling.saga - package org.axonframework.modelling.saga
- org.axonframework.modelling.saga.metamodel - package org.axonframework.modelling.saga.metamodel
- org.axonframework.modelling.saga.repository - package org.axonframework.modelling.saga.repository
- org.axonframework.modelling.saga.repository.inmemory - package org.axonframework.modelling.saga.repository.inmemory
- org.axonframework.modelling.saga.repository.jdbc - package org.axonframework.modelling.saga.repository.jdbc
- org.axonframework.modelling.saga.repository.jpa - package org.axonframework.modelling.saga.repository.jpa
- org.axonframework.modelling.saga.repository.legacyjpa - package org.axonframework.modelling.saga.repository.legacyjpa
P
- parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets the
ParameterResolverFactoryused to resolve parameters for annotated handlers contained in the Aggregate. - parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
ParameterResolverFactoryused to resolve parameters for annotated handlers contained in the Aggregate. - parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
- parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Sets the
ParameterResolverFactoryused to resolve parameters for annotated handlers for the givensagaType. - parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
ParameterResolverFactoryused to resolve parameters for annotated handlers for the givensagaType. - PayloadAssociationResolver - Class in org.axonframework.modelling.saga
-
Used to derive the value of an association property by looking it up the event message's payload.
- PayloadAssociationResolver() - Constructor for class org.axonframework.modelling.saga.PayloadAssociationResolver
- payloadType() - Element in annotation interface org.axonframework.modelling.command.CommandHandlerInterceptor
-
Specifies the type of message payload that can be handled by the member method.
- payloadType() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- payloadType() - Element in annotation interface org.axonframework.modelling.saga.SagaEventHandler
-
The type of event this method handles.
- performReset() - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- performReset(Object) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- postDelete(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Perform action that needs to be done directly after deleting an aggregate and committing the aggregate's uncommitted events.
- PostgresSagaSqlSchema - Class in org.axonframework.modelling.saga.repository.jdbc
-
SQL schema supporting PostgreSQL databases.
- PostgresSagaSqlSchema() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
-
Initialize a PostgresSagaSqlSchema using the default schema configuration.
- PostgresSagaSqlSchema(SagaSchema) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
-
Initialize a PostgresSagaSqlSchema using the given
sagaSchema. - postSave(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Perform action that needs to be done directly after updating an aggregate and committing the aggregate's uncommitted events.
- prepareForCommit(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Register handlers with the current Unit of Work that save or delete the given
aggregatewhen the Unit of Work is committed. - prepareForCommit(LockAwareAggregate<T, A>) - Method in class org.axonframework.modelling.command.LockingRepository
- prepareReset() - Method in interface org.axonframework.modelling.saga.Saga
- prepareReset(Object) - Method in interface org.axonframework.modelling.saga.Saga
- priority() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- publish(EventMessage<?>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Publish an event to the aggregate root and its entities first and external event handlers (using the given event bus) later.
- publish(EventMessage<?>, P) - Method in class org.axonframework.modelling.command.inspection.AnnotatedChildEntity
- publish(EventMessage<?>, T) - Method in interface org.axonframework.modelling.command.inspection.ChildEntity
-
Publish the given
msgto the appropriate handlers on the givendeclaringInstance. - publish(EventMessage<?>, T) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Publish given event
messageon the giventargetentity. - publishOnEventBus(EventMessage<?>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Publish an event to external event handlers using the given event bus.
R
- readAssociationValues(ResultSet) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- readAssociationValues(ResultSet) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Reads a Set of AssociationValues from the given
resultSet, which has been returned by executing the Statement returned fromSagaSqlSchema.sql_findAssociations(Connection, String, String). - readSerializedSaga(ResultSet) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- readSerializedSaga(ResultSet) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Reads a SerializedObject from the given
resultSet, which has been returned by executing the Statement returned fromSagaSqlSchema.sql_loadSaga(java.sql.Connection, String) - readToken(ResultSet) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- readToken(ResultSet) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Reads a token from the given
resultSet. - registerRoot(Callable<T>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
-
Registers the aggregate root created by the given
aggregateFactorywith this aggregate. - remove(AssociationValue) - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Removes the given
associationValue, if it is contained by this instance. - remove(AssociationValue) - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- remove(AssociationValue, String, String) - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Removes an association between the given
associationValueandsagaIdentifier. - removeAssociationValue(EntityManager, Class<?>, String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Removes the given
associationValueof the saga with givensagaIdentifierandsagaType. - removeAssociationValue(EntityManager, Class<?>, String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Removes the given
associationValueof the saga with givensagaIdentifierandsagaType. - removeAssociationWith(String, Number) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Removes the given association from the currently active Saga.
- removeAssociationWith(String, String) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
Removes the given association from the currently active Saga.
- removedAssociations() - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Returns the Set of association values that have been removed since the last
AssociationValues.commit(). - removedAssociations() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- reportIllegalState(A) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Invoked when an the given
aggregateinstance has been detected that has been part of a rolled back Unit of Work. - repository(Repository<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Sets the
Repositoryused to add and load Aggregate instances of generic typeTupon handling commands for it. - Repository<T> - Interface in org.axonframework.modelling.command
-
The
Repositoryprovides an abstraction of the storage of aggregates. - repositoryFor(Class<T>) - Method in interface org.axonframework.modelling.command.RepositoryProvider
-
Provides a repository for given aggregate type.
- repositoryProvider(RepositoryProvider) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Sets the
RepositoryProviderwhich services repositories for specific aggregate types. - repositoryProvider(RepositoryProvider) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.Sets the
RepositoryProviderwhich services repositories for specific aggregate types. - RepositoryProvider - Interface in org.axonframework.modelling.command
-
Provides a repository for given aggregate type.
- RepositorySpanFactory - Interface in org.axonframework.modelling.command
-
Span factory that creates spans for the
Repository. - resolve(String, EventMessage<?>, MessageHandlingMember<T>) - Method in interface org.axonframework.modelling.saga.AssociationResolver
-
Resolves the associationPropertyName as a value.
- resolve(String, EventMessage<?>, MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.MetaDataAssociationResolver
-
Finds the association property value by looking up the association property name in the event message's
MetaData. - resolve(String, EventMessage<?>, MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.PayloadAssociationResolver
-
Finds the association property value in the message's payload.
- resolveAssociation(EventMessage<?>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaModel
- resolveCommandTarget(CommandMessage<?>, T, Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Resolve the target of an incoming
CommandMessageto the right Child Entity. - resolveCommandTarget(CommandMessage<?>, T, Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
- resolveCommandTarget(CommandMessage<?>, T, Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
- resolveCommandTarget(CommandMessage<?>, T, Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
- resolveEventTargets(EventMessage, T, Member, ForwardingMode) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
-
Resolve the targets of an incoming
EventMessageto the right Child Entities. - resolveEventTargets(EventMessage, T, Member, ForwardingMode) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
- resolveEventTargets(EventMessage, T, Member, ForwardingMode) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
- resolveEventTargets(EventMessage, T, Member, ForwardingMode) - Method in class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
- resolveReturnValue(CommandMessage<?>, Aggregate<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
-
Resolves the value to return when the given
commandhas created the givenaggregate. - resolveTarget(CommandMessage<?>) - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver
-
Returns the Aggregate Identifier and optionally the expected version of the aggregate on which the given
commandshould be executed. - resolveTarget(CommandMessage<?>) - Method in interface org.axonframework.modelling.command.CommandTargetResolver
-
Returns the Aggregate Identifier and optionally the expected version of the aggregate on which the given
commandshould be executed. - resolveTarget(CommandMessage<?>) - Method in class org.axonframework.modelling.command.MetaDataCommandTargetResolver
- resourceInjector(ResourceInjector) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
ResourceInjectorused to initializeSagainstances after a target instance is created or loaded from the store. - ResourceInjector - Interface in org.axonframework.modelling.saga
-
Interface describing a mechanism to inject resources into Saga instances.
- revision - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.
- revision - Variable in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
- revisionColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the revision column
- revisionColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the revision column.
- root() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
-
Returns the (annotated) Saga instance.
- rootType() - Method in interface org.axonframework.modelling.command.Aggregate
-
Get the class type of the wrapped aggregate root that the Aggregate defers to for command handling.
- rootType() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- rootType() - Method in class org.axonframework.modelling.command.LockAwareAggregate
- routingKey() - Element in annotation interface org.axonframework.modelling.command.AggregateIdentifier
-
Deprecated.this field is no longer used to route commands to an aggregate. The aggregate to route a command to will be resolved with the
TargetAggregateIdentifierannotated field in theCommandMessage's payload itself. - routingKey() - Element in annotation interface org.axonframework.modelling.command.AggregateMember
-
The property of the message to be used as a routing key towards this Aggregate Member.
- routingKey() - Element in annotation interface org.axonframework.modelling.command.EntityId
-
Get the name of the routing key property on commands and events that provides the identifier that should be used to target the entity with the annotated member.
- routingKey() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- routingKey() - Method in interface org.axonframework.modelling.command.inspection.EntityModel
-
Get the name of the routing key property on commands and events that provides the identifier that should be used to target entities of this kind.
S
- saga() - Method in interface org.axonframework.modelling.saga.repository.SagaStore.Entry
-
Returns the Saga instance in unserialized form.
- Saga<T> - Interface in org.axonframework.modelling.saga
-
Interface describing an implementation of a Saga.
- sagaCache(Cache) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
-
Sets the
sagaCacheof typeCacheused to store Sagas with. - SagaCreationException - Exception in org.axonframework.modelling.saga.repository
-
Exception triggered when a new saga instance could not be instantiated.
- SagaCreationException(String, Throwable) - Constructor for exception org.axonframework.modelling.saga.repository.SagaCreationException
-
Initializes the exception using the given
messageandcause. - SagaCreationPolicy - Enum Class in org.axonframework.modelling.saga
-
Enumeration containing the possible Creation Policies for Sagas.
- SagaEntry<T> - Class in org.axonframework.modelling.saga.repository.jpa
-
Java Persistence Entity allowing sagas to be stored in a relational database.
- SagaEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Constructor required by JPA.
- SagaEntry(T, String, Serializer) - Constructor for class org.axonframework.modelling.saga.repository.jpa.SagaEntry
-
Constructs a new SagaEntry for the given
saga. - sagaEntryEntityName() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Intended for clients to override.
- sagaEntryEntityName() - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Intended for clients to override.
- sagaEntryTable() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the sagaEntry table
- sagaEntryTable(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the saga entry table.
- SagaEventHandler - Annotation Interface in org.axonframework.modelling.saga
-
Method-level annotation indicating that the annotated method is an event handler method for the saga instance.
- SagaExecutionException - Exception in org.axonframework.modelling.saga
-
Exception triggered by a saga while it is processing an event or processing a task.
- SagaExecutionException(String, Throwable) - Constructor for exception org.axonframework.modelling.saga.SagaExecutionException
-
Initializes the exception using the given
messageandcause. - sagaFactory(Supplier<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Sets the
sagaFactoryof typeSupplierresponsible for creating new Saga instances. - sagaFactory(Supplier<T>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- sagaId - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.
- sagaId - Variable in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
- sagaIdColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the sagaId column
- sagaIdColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the saga id column.
- sagaIdentifierAttribute(String) - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory.Builder
-
Sets the attribute name to use for the saga identifier.
- SagaInitializationPolicy - Class in org.axonframework.modelling.saga
-
Describes the conditions under which a Saga should be created, and which AssociationValue it should be initialized with.
- SagaInitializationPolicy(SagaCreationPolicy, AssociationValue) - Constructor for class org.axonframework.modelling.saga.SagaInitializationPolicy
-
Creates an instance using the given
creationPolicyandinitialAssociationValue. - SagaInstantiationException - Exception in org.axonframework.modelling.saga
-
Exception triggered during initialization of a Saga.
- SagaInstantiationException(String, Throwable) - Constructor for exception org.axonframework.modelling.saga.SagaInstantiationException
-
Initializes the exception using the given
messageandcause. - SagaLifecycle - Class in org.axonframework.modelling.saga
-
Abstract base class of a component that models a saga's life cycle.
- SagaLifecycle() - Constructor for class org.axonframework.modelling.saga.SagaLifecycle
- SagaManagerSpanFactory - Interface in org.axonframework.modelling.saga
-
Span factory that creates spans for the
AbstractSagaManager. - SagaMetaModelFactory - Interface in org.axonframework.modelling.saga.metamodel
-
Interface of a factory for a
SagaModelfor any given saga type. - SagaMethodMessageHandlerDefinition - Class in org.axonframework.modelling.saga
-
Utility class that inspects annotation on a Saga instance and returns the relevant configuration for its Event Handlers.
- SagaMethodMessageHandlerDefinition() - Constructor for class org.axonframework.modelling.saga.SagaMethodMessageHandlerDefinition
-
Constructs a default
SagaMethodMessageHandlerDefinition. - SagaMethodMessageHandlingMember<T> - Class in org.axonframework.modelling.saga
-
A data holder containing information of
SagaEventHandlerannotated methods. - SagaMethodMessageHandlingMember(MessageHandlingMember<T>, SagaCreationPolicy, String, String, AssociationResolver) - Constructor for class org.axonframework.modelling.saga.SagaMethodMessageHandlingMember
-
Creates a SagaMethodMessageHandler.
- sagaModel(SagaModel<T>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Sets the
SagaModelof generic typeT, describing the structure of the Saga thisAbstractSagaManagerimplementation will manage. - sagaModel(SagaModel<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
SagaModelof generic typeT, describing the structure of the Saga thisSagaRepositoryimplementation will store. - SagaModel<T> - Interface in org.axonframework.modelling.saga.metamodel
-
Interface of a model that describes a Saga of type
T. - sagaRepository(SagaRepository<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Sets the
SagaRepositoryof generic typeTused to save and load Saga instances. - sagaRepository(SagaRepository<T>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- SagaRepository<T> - Interface in org.axonframework.modelling.saga
-
Interface towards the storage mechanism of Saga instances.
- sagaSchema - Variable in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sagaSchema() - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
-
Returns the
SagaSchemaused to configure this sql saga schema. - SagaSchema - Class in org.axonframework.modelling.saga.repository.jdbc
-
SagaSchema allows specification of custom storage locations for the saga repositories.
- SagaSchema() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Initialize SagaSchema with default values.
- SagaSchema(String, String) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Deprecated.use
SagaSchema.Builderinstead - SagaSchema(SagaSchema.Builder) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
- SagaSchema.Builder - Class in org.axonframework.modelling.saga.repository.jdbc
-
Builder for an
SagaSchemathat gets initialized with default values. - SagaScopeDescriptor - Class in org.axonframework.modelling.saga
-
Describes the scope of a Saga by means of its type and identifier.
- SagaScopeDescriptor(String, Object) - Constructor for class org.axonframework.modelling.saga.SagaScopeDescriptor
-
Instantiate a SagaScopeDescriptor with the provided
typeandidentifier. - SagaSqlSchema - Interface in org.axonframework.modelling.saga.repository.jdbc
-
Interface describing the SQL statements that the JdbcSagaRepository needs to execute against the underlying database.
- SagaStorageException - Exception in org.axonframework.modelling.saga
-
Exception indicating that an error has occurred while storing a Saga.
- SagaStorageException(String) - Constructor for exception org.axonframework.modelling.saga.SagaStorageException
-
Initialize a SagaStorageException with the given descriptive
message. - SagaStorageException(String, Throwable) - Constructor for exception org.axonframework.modelling.saga.SagaStorageException
-
Initialize a SagaStorageException with the given descriptive
messageandcause. - sagaStore(SagaStore<? super T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Sets the
SagaStoreused to save and load saga instances. - SagaStore<T> - Interface in org.axonframework.modelling.saga.repository
-
Provides a mechanism to find, load update and delete sagas of type
Tfrom an underlying storage like a database. - SagaStore.Entry<T> - Interface in org.axonframework.modelling.saga.repository
-
Interface describing a Saga entry fetched from a SagaStore.
- sagaType - Variable in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
- sagaType - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.
- sagaType - Variable in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
- sagaType(Class<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Sets the
sagaTypeas aClassmanaged by this instance. - sagaType(Class<T>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- sagaType(Class<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
- sagaTypeColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the sagaType column
- sagaTypeColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the saga type column.
- scopeDescription() - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
- scopeDescription() - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
- send(Message<?>, ScopeDescriptor) - Method in class org.axonframework.modelling.command.AbstractRepository
- send(Message<?>, ScopeDescriptor) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- serializedObjectType() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Intended for clients to override.
- serializedObjectType() - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Intended for clients to override.
- serializedSaga - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
-
Deprecated.
- serializedSaga - Variable in class org.axonframework.modelling.saga.repository.jpa.SagaEntry
- SerializedSaga - Class in org.axonframework.modelling.saga.repository.jpa
-
Specialization of the SerializedObject for Sagas represented as byte array.
- SerializedSaga(byte[], String, String) - Constructor for class org.axonframework.modelling.saga.repository.jpa.SerializedSaga
-
Initialize a SerializedSaga instance with given
data, of giventypeandrevision. - serializedSagaColumn() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
-
Returns the name of the serializedSaga column
- serializedSagaColumn(String) - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema.Builder
-
Sets the name of the serialized saga column.
- serializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Sets the
Serializerused to de-/serialize a Saga instance. - serializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
-
Sets the
Serializerused to de-/serialize a Saga instance. - serializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore.Builder
-
Deprecated.Sets the
Serializerused to de-/serialize a Saga instance. - setExclusiveLoad(boolean) - Method in class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
-
Sets whether loading of Sagas should occur exclusively by a single node, by requiring a row lock from the database.
- setForceFlushOnSave(boolean) - Method in class org.axonframework.modelling.command.GenericJpaRepository
-
Indicates whether the EntityManager's state should be flushed each time an aggregate is saved.
- setForceFlushOnSave(boolean) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository
-
Deprecated.Indicates whether the EntityManager's state should be flushed each time an aggregate is saved.
- setSerializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
-
Sets the Serializer instance to serialize Sagas with.
- setUseExplicitFlush(boolean) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Sets whether or not to do an explicit
EntityManager.flush()after each data modifying operation on the backing storage. - setUseExplicitFlush(boolean) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Sets whether or not to do an explicit
EntityManager.flush()after each data modifying operation on the backing storage. - shouldInvokeInterceptorChain() - Method in interface org.axonframework.modelling.command.inspection.CommandHandlerInterceptorHandlingMember
-
Deprecated.Indicates whether interceptor chain (containing a command handler) should be invoked automatically or command handler interceptor will invoke it manually.
- SimpleResourceInjector - Class in org.axonframework.modelling.saga
-
A resource injector that checks for @Inject annotated fields and setter methods to inject resources.
- SimpleResourceInjector(Object...) - Constructor for class org.axonframework.modelling.saga.SimpleResourceInjector
-
Initializes the resource injector to inject to given
resources. - SimpleResourceInjector(Collection<?>) - Constructor for class org.axonframework.modelling.saga.SimpleResourceInjector
-
Initializes the resource injector to inject to given
resources. - size() - Method in interface org.axonframework.modelling.saga.AssociationValues
-
Returns the number of AssociationValue instances available in this container
- size() - Method in class org.axonframework.modelling.saga.AssociationValuesImpl
- size() - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
-
Returns an approximation of the size of this map.
- size() - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
-
Returns the number of Sagas currently contained in this repository.
- spanFactory - Variable in class org.axonframework.modelling.command.AbstractRepository
- spanFactory(RepositorySpanFactory) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets the
RepositorySpanFactoryimplementation to use for providing tracing capabilities. - spanFactory(RepositorySpanFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- spanFactory(RepositorySpanFactory) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- spanFactory(SagaManagerSpanFactory) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Sets the
SagaManagerSpanFactoryimplementation to use for providing tracing capabilities. - spanFactory(SagaManagerSpanFactory) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Deprecated.Use
AbstractRepository.Builder.spanFactory(RepositorySpanFactory)instead, as it provides more configuration options - spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory.Builder
-
Sets the
SpanFactoryto use to create the spans. - spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
-
Deprecated.
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
-
Deprecated.
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Deprecated.
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
-
Deprecated.
- spanFactory(SpanFactory) - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory.Builder
-
Sets the
SpanFactoryto use to create the spans. - sql_createTableAssocValueEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_createTableAssocValueEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.HsqlSagaSqlSchema
- sql_createTableAssocValueEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.Oracle11SagaSqlSchema
- sql_createTableAssocValueEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
- sql_createTableAssocValueEntry(Connection) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that creates the table for storing Association Values for Sagas.
- sql_createTableSagaEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_createTableSagaEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.Oracle11SagaSqlSchema
- sql_createTableSagaEntry(Connection) - Method in class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
- sql_createTableSagaEntry(Connection) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that creates the table for storing Sagas.
- sql_deleteAssociationEntries(Connection, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_deleteAssociationEntries(Connection, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that deletes all association entries for a Saga with given
sagaIdentifier. - sql_deleteSagaEntry(Connection, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_deleteSagaEntry(Connection, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that deletes a Saga with given
sagaIdentifier. - sql_findAssociations(Connection, String, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_findAssociations(Connection, String, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that finds the associations of a Saga of given
sagaTypeand givensagaIdentifier. - sql_findAssocSagaIdentifiers(Connection, String, String, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_findAssocSagaIdentifiers(Connection, String, String, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that finds identifiers of Sagas of given
sagaTypeassociated with the given associationkeyandvalue. - sql_loadSaga(Connection, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_loadSaga(Connection, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.PostgresSagaSqlSchema
- sql_loadSaga(Connection, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that loads a single Saga, with given
sagaId. - sql_removeAssocValue(Connection, String, String, String, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_removeAssocValue(Connection, String, String, String, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that removes an association value for given
sagaIdentifier, where the association is identified with givenkeyandvalue. - sql_storeAssocValue(Connection, String, String, String, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_storeAssocValue(Connection, String, String, String, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that stores an association with given
keyandvalue, for a Saga of giventypeandidentifier. - sql_storeSaga(Connection, String, String, String, byte[]) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_storeSaga(Connection, String, String, String, byte[]) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that inserts a Saga entry, of given
sagaTypeand with givensagaIdentifier. - sql_updateSaga(Connection, String, byte[], String, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
- sql_updateSaga(Connection, String, byte[], String, String) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
Creates a PreparedStatement that updates the serialized form of an existing Saga entry, of given
sagaTypeand with givensagaIdentifier. - sqlSchema(SagaSqlSchema) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Sets the
SagaSqlSchemadefining the SQL operations to execute for thisSagaStoreimplementation. - StartSaga - Annotation Interface in org.axonframework.modelling.saga
-
Indicates that the annotated
SagaEventHandlermethod can trigger the creation of a new Saga instance. - storeAssociationValue(EntityManager, Class<?>, String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
-
Stores the given
associationValueof the saga with givensagaIdentifierandsagaType. - storeAssociationValue(EntityManager, Class<?>, String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.Stores the given
associationValueof the saga with givensagaIdentifierandsagaType. - storeSaga(AnnotatedSaga<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Stores a newly created Saga instance.
- subscribe(CommandBus) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
-
Subscribe this command handler to the given
commandBus. - subtype(Class<? extends T>) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets a subtype of the
aggregate typerepresented by thisRepository. - subtype(Class<? extends T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- subtype(Class<? extends T>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- subtype(Class<? extends T>) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
- subtypes - Variable in class org.axonframework.modelling.command.AbstractRepository.Builder
- subtypes(Set<Class<? extends T>>) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Sets the subtypes of the
aggregate typerepresented by thisRepository. - subtypes(Set<Class<? extends T>>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- subtypes(Set<Class<? extends T>>) - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- subtypes(Set<Class<? extends T>>) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
- supportedCommandNames() - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
- supportsReset() - Method in class org.axonframework.modelling.saga.AbstractSagaManager
- supportsReset() - Method in interface org.axonframework.modelling.saga.Saga
T
- TargetAggregateIdentifier - Annotation Interface in org.axonframework.modelling.command
-
Field or method level annotation that marks a field or method providing the identifier of the aggregate that a command targets.
- targetAggregateIdentifierAnnotation(Class<? extends Annotation>) - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
-
Sets the annotation, that marks the target aggregate identifier.
- TargetAggregateVersion - Annotation Interface in org.axonframework.modelling.command
-
Field or method level annotation that marks a field or method providing the expected version of the aggregate that a command targets.
- targetAggregateVersionAnnotation(Class<? extends Annotation>) - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
-
Sets the annotation, that marks the target aggregate version.
- toString() - Method in class org.axonframework.modelling.command.AggregateScopeDescriptor
- toString() - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver
- toString() - Method in class org.axonframework.modelling.saga.SagaScopeDescriptor
- type() - Method in interface org.axonframework.modelling.command.Aggregate
-
Get the String representation of the aggregate's type.
- type() - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Retrieve a
Stringdenoting the type of this Aggregate. - type() - Element in annotation interface org.axonframework.modelling.command.AggregateMember
-
Provides the member's type.
- type() - Element in annotation interface org.axonframework.modelling.command.AggregateRoot
-
Get the String representation of the aggregate's type.
- type() - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
-
Get the String representation of the modeled aggregate's type.
- type() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- type() - Method in class org.axonframework.modelling.command.LockAwareAggregate
- type() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
- type() - Method in class org.axonframework.modelling.saga.SagaLifecycle
-
Retrieve a
Stringdenoting the type of this Saga. - type(String) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
-
Gets the aggregate class based on given
declaredType. - types() - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
-
Gets all types (concrete aggregate classes) of this aggregate.
U
- unsavedSagaResource(UnitOfWork<?>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Returns a set of identifiers of sagas that may have changed in the context of the given
unitOfWorkand have not been saved yet. - unwrap(Class<HT>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
- updateSaga(Class<?>, String, Object, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
- updateSaga(Class<?>, String, Object, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
- updateSaga(Class<?>, String, Object, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
- updateSaga(Class<?>, String, Object, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore
-
Deprecated.
- updateSaga(Class<? extends T>, String, T, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
- updateSaga(Class<? extends T>, String, T, AssociationValues) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
-
Updates a given Saga after its state was modified.
- updateSaga(AnnotatedSaga<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
Update a stored Saga, by replacing it with the given
sagainstance.
V
- validate() - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.command.DefaultRepositorySpanFactory.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
- validate() - Method in class org.axonframework.modelling.command.legacyjpa.GenericJpaRepository.Builder
-
Deprecated.
- validate() - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.DefaultSagaManagerSpanFactory.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.legacyjpa.JpaSagaStore.Builder
-
Deprecated.Validates whether the fields contained in this Builder are set accordingly.
- validate() - Method in class org.axonframework.modelling.saga.repository.LockingSagaRepository.Builder
-
Validates whether the fields contained in this Builder are set accordingly.
- validate(String, MessageHandlingMember<T>) - Method in interface org.axonframework.modelling.saga.AssociationResolver
-
Validates that the associationPropertyName supplied is compatible with the handler.
- validate(String, MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.MetaDataAssociationResolver
-
Does nothing because we can only check for existence of property in the metadata during event handling.
- validate(String, MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.PayloadAssociationResolver
-
Validates that the association property name exists as checked with the payload type.
- validateOnLoad(Aggregate<T>, Long) - Method in class org.axonframework.modelling.command.AbstractRepository
-
Checks the aggregate for concurrent changes.
- value() - Element in annotation interface org.axonframework.modelling.command.CreationPolicy
-
Specifies the
AggregateCreationPolicyto apply. - valueOf(String) - Static method in enum class org.axonframework.modelling.command.AggregateCreationPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.axonframework.modelling.saga.repository.NoResourceInjector
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.axonframework.modelling.saga.SagaCreationPolicy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.axonframework.modelling.command.AggregateCreationPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.axonframework.modelling.saga.repository.NoResourceInjector
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.axonframework.modelling.saga.SagaCreationPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in interface org.axonframework.modelling.command.Aggregate
-
Get the aggregate's version.
- version() - Method in class org.axonframework.modelling.command.AggregateLifecycle
-
Gets the version of the aggregate.
- version() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
- version() - Method in class org.axonframework.modelling.command.LockAwareAggregate
- VersionedAggregateIdentifier - Class in org.axonframework.modelling.command
-
Structure that holds an Aggregate Identifier and an expected version of an aggregate.
- VersionedAggregateIdentifier(Object, Long) - Constructor for class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Initializes a VersionedAggregateIdentifier with the given
identifierandversion. - VersionedAggregateIdentifier(String, Long) - Constructor for class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Deprecated.
W
- wrapHandler(MessageHandlingMember<T>) - Method in class org.axonframework.modelling.command.inspection.MethodCommandHandlerInterceptorDefinition
- wrapHandler(MessageHandlingMember<T>) - Method in class org.axonframework.modelling.command.inspection.MethodCreationPolicyDefinition
- wrapHandler(MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition
- wrapHandler(MessageHandlingMember<T>) - Method in class org.axonframework.modelling.saga.SagaMethodMessageHandlerDefinition
All Classes and Interfaces|All Packages|Serialized Form
serializedSagawas not handled well. There is aSagaEntrynot extending from this abstract class anymore, you might be able to use instead.