Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractChildEntityDefinition - Class in org.axonframework.modelling.command.inspection
Abstract implementation of the ChildEntityDefinition to 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 Repository that 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 AbstractRepository based on the fields contained in the AbstractRepository.Builder.
AbstractRepository.Builder<T> - Class in org.axonframework.modelling.command
Abstract Builder class to instantiate AbstractRepository implementations.
AbstractResourceInjector - Class in org.axonframework.modelling.saga
Abstract implementation of a ResourceInjector for 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
Java Persistence Entity allowing sagas to be stored in a relational database.
AbstractSagaEntry(Object, String, Serializer, Class<T>) - Constructor for class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
Constructs a new SagaEntry for the given saga.
AbstractSagaEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
Default constructor required by JPA.
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 AbstractSagaManager based on the fields contained in the AbstractSagaManager.Builder.
AbstractSagaManager.Builder<T> - Class in org.axonframework.modelling.saga
Abstract Builder class to instantiate AbstractSagaManager implementations.
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 associationValue and sagaIdentifier.
addCachedAssociations(Iterable<AssociationValue>, String, Class<?>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
Registers the associations of a saga with given sagaIdentifier and given sagaType with 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 CommandHandler based on annotations of an aggregate.
AggregateAnnotationCommandHandler(AggregateAnnotationCommandHandler.Builder<T>) - Constructor for class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
Instantiate a AggregateAnnotationCommandHandler based on the fields contained in the AggregateAnnotationCommandHandler.Builder.
AggregateAnnotationCommandHandler.Builder<T> - Class in org.axonframework.modelling.command
Builder class to instantiate a AggregateAnnotationCommandHandler.
AggregateCreationPolicy - Enum 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 AggregateEntityNotFoundException with given message.
AggregateEntityNotFoundException(String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateEntityNotFoundException
Initialize a AggregateEntityNotFoundException with given message and cause.
AggregateIdentifier - Annotation Type in org.axonframework.modelling.command
Field or Method annotation that identifies the member containing the identifier of the Aggregate.
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 message and cause.
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 Type in org.axonframework.modelling.command
Marker annotation for a Field or Method that references one or more Entities capable of handling Commands or Events.
AggregateMemberAnnotatedChildEntityCollectionDefinition - Class in org.axonframework.modelling.command.inspection
Implementation of a AbstractChildEntityDefinition that is used to detect Collections of entities (member type assignable to Iterable) annotated with AggregateMember.
AggregateMemberAnnotatedChildEntityCollectionDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
 
AggregateMemberAnnotatedChildEntityDefinition - Class in org.axonframework.modelling.command.inspection
Implementation of a ChildEntityDefinition that is used to detect single entities annotated with AggregateMember.
AggregateMemberAnnotatedChildEntityDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
 
AggregateMemberAnnotatedChildEntityMapDefinition - Class in org.axonframework.modelling.command.inspection
Implementation of a AbstractChildEntityDefinition that is used to detect Maps with entities as values annotated with AggregateMember.
AggregateMemberAnnotatedChildEntityMapDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityMapDefinition
 
AggregateMetaModelFactory - Interface in org.axonframework.modelling.command.inspection
Interface of a factory for an AggregateModel for 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 AggregateModel of generic type T, describing the structure of the aggregate this Repository will store.
aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the AggregateModel of generic type T, describing the structure of the aggregate the AnnotationCommandHandlerAdapter will handle.
aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.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.
aggregateModel(AggregateModel<T>) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
 
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 message explaining 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 aggregateIdentifier and given message.
AggregateNotFoundException(String, String, Throwable) - Constructor for exception org.axonframework.modelling.command.AggregateNotFoundException
Initialize a AggregateNotFoundException for an aggregate identifier by given aggregateIdentifier and with the given message and cause.
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 Type 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, Supplier<Object>) - Constructor for class org.axonframework.modelling.command.AggregateScopeDescriptor
Instantiate an AggregateScopeDescriptor with a type and identifierSupplier.
AggregateScopeDescriptor(String, Object) - Constructor for class org.axonframework.modelling.command.AggregateScopeDescriptor
Instantiate an AggregateScopeDescriptor with the provided type and identifier.
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 message and cause
aggregateType - Variable in class org.axonframework.modelling.command.AbstractRepository.Builder
 
aggregateType(Class<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the aggregateType as a Class, specifying the type of aggregate an AggregateModel should be created for.
AggregateVersion - Annotation Type in org.axonframework.modelling.command
Field or Method annotation that indicates the member contains the value that represents the version of the Aggregate, used for optimistic locking, as well as state validation for commands.
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.
andThen(Runnable) - Method in interface org.axonframework.modelling.command.ApplyMore
Execute the given runnable after 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 runnable after applying the previous event.
AnnotatedAggregate<T> - Class in org.axonframework.modelling.command.inspection
Implementation of the Aggregate interface that allows for an aggregate root to be a POJO with annotations on its Command and Event Handler methods.
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 given aggregateModel that will publish events to the given eventBus.
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 given aggregateModel that will publish events to the given eventBus.
AnnotatedAggregate(AggregateModel<T>, EventBus) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Initialize an Aggregate instance for the given aggregateRoot, described by the given aggregateModel that will publish events to the given eventBus.
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 given aggregateModel that will publish events to the given eventBus.
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 parameterResolverFactory to detect parameters for annotated handlers.
AnnotatedAggregateMetaModelFactory(ParameterResolverFactory, HandlerDefinition) - Constructor for class org.axonframework.modelling.command.inspection.AnnotatedAggregateMetaModelFactory
Initializes an instance which uses the given parameterResolverFactory to detect parameters for annotated handlers and handlerDefinition to create concrete handlers.
AnnotatedChildEntity<P,C> - Class in org.axonframework.modelling.command.inspection
Implementation of a ChildEntity that 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 entityModel to 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 interface that allows for a POJO instance with annotated message handlers to act as a Saga.
AnnotatedSaga(String, Set<AssociationValue>, T, SagaModel<T>) - Constructor for class org.axonframework.modelling.saga.AnnotatedSaga
Creates an AnnotatedSaga instance to wrap the given annotatedSaga, identifier with the given sagaId and associated with the given associationValues.
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 AnnotatedSagaManager based on the fields contained in the AnnotatedSagaManager.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
SagaRepository implementation extending from the LockingSagaRepository dealing with annotated Sagas.
AnnotatedSagaRepository(AnnotatedSagaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
Instantiate a AnnotatedSagaRepository based on the fields contained in the AnnotatedSagaRepository.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.
AnnotationCommandTargetResolver(AnnotationCommandTargetResolver.Builder) - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver
Instantiate a AnnotationCommandTargetResolver based on the fields contained in the AnnotationCommandTargetResolver.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 AnnotationSagaMetaModelFactory with ClasspathParameterResolverFactory and ClasspathHandlerDefinition.
AnnotationSagaMetaModelFactory(ParameterResolverFactory) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
Initializes a AnnotationSagaMetaModelFactory with given parameterResolverFactory and ClasspathHandlerDefinition.
AnnotationSagaMetaModelFactory(ParameterResolverFactory, HandlerDefinition) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
Initializes a AnnotationSagaMetaModelFactory with given parameterResolverFactory and given handlerDefinition.
apply(Object, MetaData) - Static method in class org.axonframework.modelling.command.AggregateLifecycle
Apply a DomainEventMessage with given payload and metadata (metadata from interceptors will be combined with the provided metadata).
apply(Object) - Static method in class org.axonframework.modelling.command.AggregateLifecycle
Apply a DomainEventMessage with given payload without metadata (though interceptors can also be used to provide 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, String) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
Registers a AssociationValue with the currently active saga.
associateWith(String, Number) - 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.
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 associationsCache of type Cache used 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 key and value.
AssociationValueEntry - Class in org.axonframework.modelling.saga.repository.jpa
JPA wrapper around an Association Value.
AssociationValueEntry(String, String, AssociationValue) - Constructor for class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
Initialize a new AssociationValueEntry for a saga with given sagaIdentifier and associationValue.
AssociationValueEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.AssociationValueEntry
Constructor required by JPA.
associationValueEntryTable() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
Returns the name of the associationValueEntry 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 - Interface in org.axonframework.modelling.saga
Interface describing a container of Association Values for a single Saga instance.
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 AssociationValues that have been associated with the current Saga so far.
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 AggregateAnnotationCommandHandler as specified through this Builder.
build() - Method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
Initializes a AnnotationCommandTargetResolver as specified through this Builder.
build() - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
Initializes a GenericJpaRepository as specified through this Builder.
build() - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
Initializes a AnnotatedSagaManager as specified through this Builder.
build() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Initializes a AnnotatedSagaRepository as specified through this Builder.
build() - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
Initializes a CachingSagaStore as specified through this Builder.
build() - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
Initializes a JdbcSagaStore as specified through this Builder.
build() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
Initializes a JpaSagaStore as specified through this Builder.
buildAggregateModel() - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
Instantiate the AggregateModel of generic type T describing the structure of the Aggregate this Repository will store.
Builder(Class<T>) - Constructor for class org.axonframework.modelling.command.AbstractRepository.Builder
Creates a builder for a Repository for given aggregateType.
builder() - Static method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
Instantiate a Builder to be able to create a AggregateAnnotationCommandHandler.
Builder() - Constructor for class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
 
builder() - Static method in class org.axonframework.modelling.command.AnnotationCommandTargetResolver
Instantiate a Builder to be able to create a AnnotationCommandTargetResolver.
Builder() - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver.Builder
 
builder(Class<T>) - Static method in class org.axonframework.modelling.command.GenericJpaRepository
Instantiate a Builder to be able to create a GenericJpaRepository for aggregate type T.
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.LockingRepository.Builder
Creates a builder for a Repository for given aggregateType.
Builder() - Constructor for class org.axonframework.modelling.saga.AbstractSagaManager.Builder
 
builder() - Static method in class org.axonframework.modelling.saga.AnnotatedSagaManager
Instantiate a Builder to be able to create a AnnotatedSagaManager.
Builder() - Constructor for class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
 
builder() - Static method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
Instantiate a Builder to be able to create an AnnotatedSagaRepository.
Builder() - Constructor for class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
 
builder() - Static method in class org.axonframework.modelling.saga.repository.CachingSagaStore
Instantiate a Builder to be able to create a CachingSagaStore.
Builder() - Constructor for class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
 
builder() - Static method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
Instantiate a Builder to be able to create a JdbcSagaStore.
Builder() - Constructor for class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
 
builder() - Static method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
Instantiate a Builder to be able to create a JpaSagaStore.
Builder() - Constructor for class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
 
Builder() - Constructor for class org.axonframework.modelling.saga.repository.LockingSagaRepository.Builder
 
buildSagaModel() - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
Instantiate the SagaModel of generic type T describing the structure of the Saga this AbstractSagaManager implementation will manage.
buildSagaModel() - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Instantiate the SagaModel of generic type T describing the structure of the Saga this SagaRepository will 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 CachingSagaStore based on the fields contained in the CachingSagaStore.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(Message<?>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
 
canHandle(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
 
canHandle(EventMessage<?>, Segment) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager
 
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
 
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 CommandMessageHandlingMember that 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 ChildForwardingCommandMessageHandlingMember that routes commands to a compatible child entity.
clear() - Method in class org.axonframework.modelling.saga.repository.AssociationValueMap
Clears all the associations.
CommandHandlerInterceptor - Annotation Type 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
commandHandlerInterceptors(Class<? extends T>) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
Gets command handler interceptors for provided type in 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
commandHandlers(Class<? extends T>) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
Gets command handlers for provided type in this aggregate hierarchy.
commandName() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
 
commandTargetResolver(CommandTargetResolver) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the CommandTargetResolver used 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 saga to 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 message and cause.
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 message and cause.
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 message and cause.
connectionProvider(ConnectionProvider) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
Sets the ConnectionProvider which 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.
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 given declaringEntity for the presence of a Child Entity.
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.
createMessage(P, MetaData) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Creates an EventMessage with given payload and metaData.
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 aggregateType and provided subtypes.
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.
createSagaEntry(Object, String, Serializer) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
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 - Annotation Type in org.axonframework.modelling.command
Annotation used to specify the creation policy for a command handler.
creationPolicy() - Method in interface org.axonframework.modelling.command.inspection.CreationPolicyMember
Returns the creation policy set on the MessageHandlingMember.
creationPolicyAggregateFactory(CreationPolicyAggregateFactory<T>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the CreationPolicyAggregateFactory for generic type T.
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 ConnectionProvider by providing a DataSource.
declaredType(Class<?>) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
Gets the declared aggregate type based on given class type.
delegateSagaStore(SagaStore<T>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore.Builder
Sets the SagaStore instance providing access to (persisted) entries.
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.
deleteSaga(Class<? extends T>, String, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
 
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<? extends T>, String, Set<AssociationValue>) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
Deletes a Saga with given sagaType and sagaIdentifier and all its associations.
describeScope() - Method in class org.axonframework.modelling.command.AggregateLifecycle
 
describeScope() - Method in class org.axonframework.modelling.saga.SagaLifecycle
 
doApply(T, MetaData) - Method in class org.axonframework.modelling.command.AggregateLifecycle
Apply a DomainEventMessage with given payload and metadata (metadata from interceptors will be combined with the provided metadata).
doApply(P, MetaData) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
 
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
SagaLifecycle instance method to register the given associationValue.
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(Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
Creates a new aggregate instance using the given factoryMethod.
doCreateNew(Class<T>, Callable<T>) - Method in class org.axonframework.modelling.command.AggregateLifecycle
Creates a new aggregate instance.
doCreateNew(Class<R>, Callable<R>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
 
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.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(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository
 
doDeleteWithLock(A) - Method in class org.axonframework.modelling.command.LockingRepository
Perform the actual deleting of the aggregate.
doEnd() - Method in class org.axonframework.modelling.saga.AnnotatedSaga
Marks the saga as ended.
doEnd() - Method in class org.axonframework.modelling.saga.SagaLifecycle
SagaLifecycle instance method to mark the current saga as ended.
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.
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.
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 sagaIdentifier from the underlying saga store and returns it as a AnnotatedSaga.
doLoadWithLock(String, Long) - Method in class org.axonframework.modelling.command.GenericJpaRepository
 
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
SagaLifecycle instance method to remove the given associationValue.
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(AnnotatedAggregate<T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository
 
doSaveWithLock(A) - Method in class org.axonframework.modelling.command.LockingRepository
Perform the actual saving of the aggregate.

E

end() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
Marks the saga as ended.
EndSaga - Annotation Type in org.axonframework.modelling.saga
Indicates that the annotated SagaEventHandler method indicates the end of a Saga instance's lifecycle.
EndSagaMessageHandlerDefinition - Class in org.axonframework.modelling.saga
A HandlerEnhancerDefinition inspecting the existence of the EndSaga annotation on MessageHandlingMembers.
EndSagaMessageHandlerDefinition() - Constructor for class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition
 
EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember<T> - Class in org.axonframework.modelling.saga
A WrappedMessageHandlingMember implementation dedicated towards MessageHandlingMembers annotated with EndSaga.
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 Type in org.axonframework.modelling.command
Field or Method annotation that marks the member containing the identifier of an Entity.
entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
Sets the EntityManagerProvider which provides the EntityManager instance for this repository.
entityManagerProvider(EntityManagerProvider) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
Sets the EntityManagerProvider which provides the EntityManager used 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 EventBus to which events are published.
execute(Consumer<T>) - Method in interface org.axonframework.modelling.command.Aggregate
Execute a method on the underlying aggregate or one of its instances.
execute(Runnable) - Method in class org.axonframework.modelling.command.AggregateLifecycle
Executes the given task.
execute(Consumer<T>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
 
execute(Consumer<AR>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
 
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 invocation against the root object of this Saga instance.
execute(Runnable) - Method in class org.axonframework.modelling.saga.SagaLifecycle
SagaLifecycle instance method to execute given task in the context of this SagaLifeCycle.
extractAssociationValues(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
Extracts the AssociationValues from the given event as relevant for a Saga of given sagaType.
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 declaringEntity as an EntityModel.
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 childEntityModel to be able to correctly route commands to Entities.

F

filterCandidates(T, Stream<E>) - Method in interface org.axonframework.modelling.command.ForwardingMode
Filter the given Stream of candidates which are to handle the supplied message.
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 type that have been associated with the given associationValue.
findHandlerMethods(EventMessage<?>) - Method in interface org.axonframework.modelling.saga.metamodel.SagaModel
Returns a List of MessageHandlingMember that can handle the given event.
findResource(Class<R>) - Method in class org.axonframework.modelling.saga.AbstractResourceInjector
Returns a resource of given requiredType or an empty Optional if the resource is not registered with the injector.
findResource(Class<R>) - Method in class org.axonframework.modelling.saga.SimpleResourceInjector
 
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.
findSagas(Class<? extends T>, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
 
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<? extends T>, AssociationValue) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
Returns identifiers of saga instances of the given sagaType that have been associated with the given associationValue.
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 T if 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 T regardless 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 T regardless 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(GenericJpaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.command.GenericJpaRepository
Instantiate a GenericJpaRepository based on the fields contained in the GenericJpaRepository.Builder.
GenericJpaRepository.Builder<T> - Class in org.axonframework.modelling.command
Builder class to instantiate a GenericJpaRepository for aggregate type T.
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 null if no AssociationValue can be found on the given eventMessage.
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
SagaLifecycle instance method to retrieve the AssociationValues of 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(T) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
Get the identifier of the given target entity.
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
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 AggregateLifecycle instance for the current thread.
getInstance() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
Get the current SagaLifecycle instance 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
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 sagaType and event.
getSagaCreationPolicy(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager
 
getSagaId() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
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 String denoting 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
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
getSerializedSaga() - Method in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
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(T) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
Get the current version number of the given aggregate.
getVersion() - Method in class org.axonframework.modelling.command.VersionedAggregateIdentifier
Returns the version of the targeted Aggregate, or null if the version is irrelevant.
getWrappedAggregate() - Method in class org.axonframework.modelling.command.LockAwareAggregate
Get the delegate aggregate wrapped by this instance.

H

handle(Message<?>) - Method in interface org.axonframework.modelling.command.Aggregate
Handle the given message on the aggregate root or one of its child entities.
handle(CommandMessage<?>) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler
 
handle(Message<?>) - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
 
handle(UnitOfWork<? extends CommandMessage<?>>, InterceptorChain) - Method in class org.axonframework.modelling.command.inspection.AnnotatedCommandHandlerInterceptor
 
handle(Message<?>, P) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
 
handle(Message<?>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
 
handle(EventMessage<?>, Segment) - Method in class org.axonframework.modelling.saga.AbstractSagaManager
 
handle(EventMessage<?>) - Method in class org.axonframework.modelling.saga.AnnotatedSaga
 
handle(Message<?>, T) - Method in class org.axonframework.modelling.saga.EndSagaMessageHandlerDefinition.EndSageMessageHandlingMember
 
handle(Message<?>, T) - Method in class org.axonframework.modelling.saga.SagaMethodMessageHandlingMember
 
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
Sets the HandlerDefinition used to create concrete handlers for the given aggregateType.
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the HandlerDefinition used to create concrete handlers for the given aggregateType.
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
 
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
 
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
Sets the HandlerDefinition used to create concrete handlers for the given sagaType.
handlerDefinition(HandlerDefinition) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Sets the HandlerDefinition used to create concrete handlers for the given sagaType.
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 Object denoting 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
Sets the Function which converts a String based identifier to the Identifier object used in the Entity.
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.
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 aggregateFactory which is described in the given aggregateModel.
initialize(Callable<T>, AggregateModel<T>, EventBus, RepositoryProvider) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Initialize an aggregate created by the given aggregateFactory which is described in the given aggregateModel.
initialize(Callable<T>, AggregateModel<T>, EventBus, boolean) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Initialize an aggregate created by the given aggregateFactory which is described in the given aggregateModel.
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 aggregateFactory which is described in the given aggregateModel.
initialize(T, AggregateModel<T>, EventBus) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Initialize an aggregate with the given aggregateRoot which is described in the given aggregateModel.
initialize(T, AggregateModel<T>, EventBus, RepositoryProvider) - Static method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Initialize an aggregate with the given aggregateRoot which is described in the given aggregateModel.
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 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<? extends T>, String, T, Set<AssociationValue>) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
 
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<? 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 aggregateType and its subtypes.
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 given parameterResolverFactory to 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 given parameterResolverFactory to resolve parameter values for annotated handlers and handlerDefinition to 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 aggregateType and its subytpes, using given parameterResolverFactory to resolve parameter values for annotated handlers and handlerDefinition to create concrete handlers.
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<AR, R>) - Method in class org.axonframework.modelling.command.LockAwareAggregate
 
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 invocation against 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
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 Member is 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 SagaStore implementation that uses JDBC to store and find Saga instances.
JdbcSagaStore(JdbcSagaStore.Builder) - Constructor for class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore
Instantiate a JdbcSagaStore based on the fields contained in the JdbcSagaStore.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(JpaSagaStore.Builder) - Constructor for class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
Instantiate a JpaSagaStore based on the fields contained in the JpaSagaStore.Builder.
JpaSagaStore.Builder - Class in org.axonframework.modelling.saga.repository.jpa
Builder class to instantiate a JpaSagaStore.

L

lastSequence() - Method in class org.axonframework.modelling.command.inspection.AnnotatedAggregate
Returns the last sequence of any event published, or null if no events have been published yet.
listenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
Sets the ListenerInvocationErrorHandler invoked when an error occurs.
listenerInvocationErrorHandler(ListenerInvocationErrorHandler) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
 
load(String, Long) - Method in class org.axonframework.modelling.command.AbstractRepository
 
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, Long) - 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.
loadAssociationValues(EntityManager, Class<?>, String) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
Loads the association values of the saga with given sagaIdentifier and sagaType.
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 interface org.axonframework.modelling.saga.repository.SagaStore
Loads a known saga SagaStore.Entry instance with given sagaType and unique sagaIdentifier.
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, Lock) - Constructor for class org.axonframework.modelling.command.LockAwareAggregate
Initializes a new LockAwareAggregate for given wrappedAggregate and lock.
LockAwareAggregate(A, Supplier<Lock>) - Constructor for class org.axonframework.modelling.command.LockAwareAggregate
Initializes a new LockAwareAggregate for given wrappedAggregate and a supplier of the lock.
lockFactory(LockFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
 
lockFactory(LockFactory) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
Sets the LockFactory used 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 LockFactory used 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 LockingRepository based on the fields contained in the LockingRepository.Builder.
LockingRepository.Builder<T> - Class in org.axonframework.modelling.command
Abstract Builder class to instantiate LockingRepository implementations.
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 LockingSagaRepository based on the fields contained in the LockingSagaRepository.Builder.
LockingSagaRepository.Builder<T> - Class in org.axonframework.modelling.saga.repository
Abstract Builder class to instantiate LockingSagaRepository implementations.

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 sagaId matches with the given segment.
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 identifierKey as the MetaData key to the aggregate identifier, and a null (ignored) version.
MetaDataCommandTargetResolver(String, String) - Constructor for class org.axonframework.modelling.command.MetaDataCommandTargetResolver
Initializes the MetaDataCommandTargetResolver to use the given identifierKey as the MetaData key to the aggregate identifier, and the given versionKey as key to the (optional) version entry.
MethodCommandHandlerInterceptorDefinition - Class in org.axonframework.modelling.command.inspection
Implementation of HandlerEnhancerDefinition used for CommandHandlerInterceptor annotated methods.
MethodCommandHandlerInterceptorDefinition() - Constructor for class org.axonframework.modelling.command.inspection.MethodCommandHandlerInterceptorDefinition
 
MethodCreationPolicyDefinition - Class in org.axonframework.modelling.command.inspection
Implementation of HandlerEnhancerDefinition used for CreationPolicy annotated 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 childEntityType in 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

newInstance(Callable<T>) - Method in class org.axonframework.modelling.command.AbstractRepository
 
newInstance(Callable<T>, Consumer<Aggregate<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 factoryMethod to instantiate the aggregate's root.
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 factoryMethod to instantiate the aggregate's root, and then applying the initMethod consumer to it to perform additional initialization.
NoArgumentConstructorCreationPolicyAggregateFactory<A> - Class in org.axonframework.modelling.command
Default implementation of CreationPolicyAggregateFactory that invokes the default, no-arguments constructor of the aggregate class A.
NoArgumentConstructorCreationPolicyAggregateFactory(Class<? extends A>) - Constructor for class org.axonframework.modelling.command.NoArgumentConstructorCreationPolicyAggregateFactory
Construct an instance of the NoArgumentConstructorCreationPolicyAggregateFactory for the given type.
NONE - Static variable in class org.axonframework.modelling.saga.SagaInitializationPolicy
Value indicating there is no Initialization required
NoResourceInjector - Enum 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.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
 

P

parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
Sets the ParameterResolverFactory used to resolve parameters for annotated handlers contained in the Aggregate.
parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.command.AggregateAnnotationCommandHandler.Builder
Sets the ParameterResolverFactory used 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.LockingRepository.Builder
 
parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
Sets the ParameterResolverFactory used to resolve parameters for annotated handlers for the given sagaType.
parameterResolverFactory(ParameterResolverFactory) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Sets the ParameterResolverFactory used to resolve parameters for annotated handlers for the given sagaType.
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() - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
 
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 postgres 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 aggregate when 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 msg to the appropriate handlers on the given declaringInstance.
publish(EventMessage<?>, T) - Method in interface org.axonframework.modelling.command.inspection.EntityModel
Publish given event message on the given target entity.
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 from SagaSqlSchema.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 from SagaSqlSchema.sql_loadSaga(java.sql.Connection, String)

Note: The implementation must not change the resultSet's cursor position

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 aggregateFactory with 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 associationValue and sagaIdentifier.
removeAssociationValue(EntityManager, Class<?>, String, AssociationValue) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
Removes the given associationValue of the saga with given sagaIdentifier and sagaType.
removeAssociationWith(String, String) - Static method in class org.axonframework.modelling.saga.SagaLifecycle
Removes the given association from the currently active Saga.
removeAssociationWith(String, Number) - 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 aggregate instance 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 Repository used to add and load Aggregate instances of generic type T upon handling commands for it.
Repository<T> - Interface in org.axonframework.modelling.command
The repository provides 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 RepositoryProvider which services repositories for specific aggregate types.
RepositoryProvider - Interface in org.axonframework.modelling.command
Provides a repository for given aggregate type.
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
Returns the AssociationValue used to find sagas of type T that can handle the given eventMessage.
resolveCommandTarget(CommandMessage<?>, T, Member, EntityModel<Object>) - Method in class org.axonframework.modelling.command.inspection.AbstractChildEntityDefinition
Resolve the target of an incoming CommandMessage to 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 EventMessage to 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 command has created the given aggregate.
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 command should 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 command should 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 ResourceInjector used to initialize Saga instances 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
 
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() - 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 sagaCache of type Cache used 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 message and cause.
SagaCreationPolicy - Enum 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(T, String, Serializer) - Constructor for class org.axonframework.modelling.saga.repository.jpa.SagaEntry
Constructs a new SagaEntry for the given saga.
SagaEntry() - Constructor for class org.axonframework.modelling.saga.repository.jpa.SagaEntry
Constructor required by JPA.
sagaEntryEntityName() - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore
Intended for clients to override.
sagaEntryTable() - Method in class org.axonframework.modelling.saga.repository.jdbc.SagaSchema
Returns the name of the sagaEntry table
SagaEventHandler - Annotation Type 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 message and cause.
sagaFactory(Supplier<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
Sets the sagaFactory of type Supplier responsible 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
 
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 creationPolicy and initialAssociationValue.
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 message and cause.
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
 
SagaMetaModelFactory - Interface in org.axonframework.modelling.saga.metamodel
Interface of a factory for a SagaModel for 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
SagaMethodMessageHandlingMember<T> - Class in org.axonframework.modelling.saga
A data holder containing information of SagaEventHandler annotated 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 SagaModel of generic type T, describing the structure of the Saga this AbstractSagaManager implementation will manage.
SagaModel<T> - Interface in org.axonframework.modelling.saga.metamodel
Interface of a model that describes a Saga of type T.
sagaModel(SagaModel<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Sets the SagaModel of generic type T, describing the structure of the Saga this SagaRepository implementation will store.
sagaRepository(SagaRepository<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
Sets the SagaRepository of generic type T used 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() - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
Returns the SagaSchema used 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
Initialize SagaSchema with custom locations for event entry tables.
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 type and identifier.
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 message and cause.
sagaStore(SagaStore<? super T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository.Builder
Sets the SagaStore used 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 T from 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(Class<T>) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
Sets the sagaType as a Class managed 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
Sets the sagaType as a Class, specifying the type of Saga this SagaRepository will store.
sagaType - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
 
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.
serializedSaga - Variable in class org.axonframework.modelling.saga.repository.jpa.AbstractSagaEntry
 
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 given type and revision.
serializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
Sets the Serializer used to de-/serialize a Saga instance.
serializer(Serializer) - Method in class org.axonframework.modelling.saga.repository.jpa.JpaSagaStore.Builder
Sets the Serializer used to de-/serialize a Saga instance.
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.
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.
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(SpanFactory) - Method in class org.axonframework.modelling.command.AbstractRepository.Builder
Sets the SpanFactory implementation to use for providing tracing capabilities.
spanFactory - Variable in class org.axonframework.modelling.command.AbstractRepository
 
spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
 
spanFactory(SpanFactory) - Method in class org.axonframework.modelling.command.LockingRepository.Builder
 
spanFactory(SpanFactory) - Method in class org.axonframework.modelling.saga.AbstractSagaManager.Builder
Sets the SpanFactory implementation to use for providing tracing capabilities.
spanFactory(SpanFactory) - Method in class org.axonframework.modelling.saga.AnnotatedSagaManager.Builder
 
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 sagaType and given sagaIdentifier.
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 sagaType associated with the given association key and value.
sql_loadSaga(Connection, String) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
 
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 given key and value.
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 key and value, for a Saga of given type and identifier.
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 sagaType and with given sagaIdentifier.
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 sagaType and with given sagaIdentifier.
sqlSchema(SagaSqlSchema) - Method in class org.axonframework.modelling.saga.repository.jdbc.JdbcSagaStore.Builder
Sets the SagaSqlSchema defining the SQL operations to execute for this SagaStore implementation.
StartSaga - Annotation Type in org.axonframework.modelling.saga
Indicates that the annotated SagaEventHandler method 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 associationValue of the saga with given sagaIdentifier and sagaType.
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 type represented by this Repository.
subtype(Class<? extends T>) - Method in class org.axonframework.modelling.command.GenericJpaRepository.Builder
 
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 type represented by this Repository.
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.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 Type 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 Type 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 String denoting the type of this Aggregate.
type() - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
Get the String representation of the modeled aggregate's type.
type(String) - Method in interface org.axonframework.modelling.command.inspection.AggregateModel
Gets the aggregate class based on given declaredType.
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 String denoting the type of this Saga.
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 unitOfWork and have not been saved yet.
unwrap(Class<HT>) - Method in class org.axonframework.modelling.command.inspection.ChildForwardingCommandMessageHandlingMember
 
updateSaga(AnnotatedSaga<T>) - Method in class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
Update a stored Saga, by replacing it with the given saga instance.
updateSaga(Class<? extends T>, String, T, AssociationValues) - Method in class org.axonframework.modelling.saga.repository.CachingSagaStore
 
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<? extends T>, String, T, AssociationValues) - Method in interface org.axonframework.modelling.saga.repository.SagaStore
Updates a given Saga after its state was modified.

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.GenericJpaRepository.Builder
 
validate() - Method in class org.axonframework.modelling.saga.AbstractSagaManager.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.
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.LockingSagaRepository.Builder
Validates whether the fields contained in this Builder are set accordingly.
validateOnLoad(Aggregate<T>, Long) - Method in class org.axonframework.modelling.command.AbstractRepository
Checks the aggregate for concurrent changes.
valueOf(String) - Static method in enum org.axonframework.modelling.command.AggregateCreationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.axonframework.modelling.saga.repository.NoResourceInjector
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.axonframework.modelling.saga.SagaCreationPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.axonframework.modelling.command.AggregateCreationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.axonframework.modelling.saga.repository.NoResourceInjector
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.axonframework.modelling.saga.SagaCreationPolicy
Returns an array containing the constants of this enum type, 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(String, Long) - Constructor for class org.axonframework.modelling.command.VersionedAggregateIdentifier
Deprecated.
In favor of VersionedAggregateIdentifier(Object, Long), since the identifier can be a non-String.
VersionedAggregateIdentifier(Object, Long) - Constructor for class org.axonframework.modelling.command.VersionedAggregateIdentifier
Initializes a VersionedAggregateIdentifier with the given identifier and version.

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
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2010–2022. All rights reserved.