- 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
-
- AbstractRepository.Builder<T> - Class in org.axonframework.modelling.command
-
- 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
-
- AbstractSagaManager.Builder<T> - Class in org.axonframework.modelling.saga
-
- 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
-
- 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
-
- AggregateAnnotationCommandHandler.Builder<T> - Class in org.axonframework.modelling.command
-
- 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
-
- AggregateMemberAnnotatedChildEntityCollectionDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityCollectionDefinition
-
- AggregateMemberAnnotatedChildEntityDefinition - Class in org.axonframework.modelling.command.inspection
-
- AggregateMemberAnnotatedChildEntityDefinition() - Constructor for class org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition
-
- AggregateMemberAnnotatedChildEntityMapDefinition - Class in org.axonframework.modelling.command.inspection
-
- 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
-
- 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
-
- AnnotatedSagaManager.Builder<T> - Class in org.axonframework.modelling.saga
-
- AnnotatedSagaRepository<T> - Class in org.axonframework.modelling.saga.repository
-
- AnnotatedSagaRepository(AnnotatedSagaRepository.Builder<T>) - Constructor for class org.axonframework.modelling.saga.repository.AnnotatedSagaRepository
-
- AnnotatedSagaRepository.Builder<T> - Class in org.axonframework.modelling.saga.repository
-
- 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
-
- AnnotationCommandTargetResolver(AnnotationCommandTargetResolver.Builder) - Constructor for class org.axonframework.modelling.command.AnnotationCommandTargetResolver
-
- AnnotationCommandTargetResolver.Builder - Class in org.axonframework.modelling.command
-
- AnnotationSagaMetaModelFactory - Class in org.axonframework.modelling.saga.metamodel
-
- AnnotationSagaMetaModelFactory() - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
- AnnotationSagaMetaModelFactory(ParameterResolverFactory) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
- AnnotationSagaMetaModelFactory(ParameterResolverFactory, HandlerDefinition) - Constructor for class org.axonframework.modelling.saga.metamodel.AnnotationSagaMetaModelFactory
-
- 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
-
- 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
-
- 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
-
- CachingSagaStore.Builder<T> - Class in org.axonframework.modelling.saga.repository
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- GenericJpaRepository.Builder<T> - Class in org.axonframework.modelling.command
-
- 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
-
- 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
-
- getInstance() - Static method in class org.axonframework.modelling.saga.SagaLifecycle
-
- 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.
- 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
-
- 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
-
- readAssociationValues(ResultSet) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
-
- readAssociationValues(ResultSet) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
- readSerializedSaga(ResultSet) - Method in class org.axonframework.modelling.saga.repository.jdbc.GenericSagaSqlSchema
-
- readSerializedSaga(ResultSet) - Method in interface org.axonframework.modelling.saga.repository.jdbc.SagaSqlSchema
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- VersionedAggregateIdentifier(Object, Long) - Constructor for class org.axonframework.modelling.command.VersionedAggregateIdentifier
-
Initializes a VersionedAggregateIdentifier with the given identifier and version.