Uses of Interface
org.axonframework.modelling.repository.Repository
Packages that use Repository
Package
Description
Root package for Axon Eventsourcing.
Root package for Axon Modelling.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Part of the Axon Modelling module.
Repository tracing decorators for
axon-modelling.Tracing decorators for
axon-modelling components.-
Uses of Repository in org.axonframework.eventsourcing
Classes in org.axonframework.eventsourcing that implement RepositoryModifier and TypeClassDescriptionclassEventSourcingRepository<ID,E> Repositoryimplementation which manages event-sourced entities and delegates lifecycle concerns (loading, initialization, snapshot handling, and live updates) to anEntityLifecycleHandler. -
Uses of Repository in org.axonframework.modelling
Methods in org.axonframework.modelling that return RepositoryModifier and TypeMethodDescription<I,T> @Nullable Repository <I, T> HierarchicalStateManager.repository(Class<T> entityType, Class<I> idType) <I,T> @Nullable Repository <I, T> SimpleStateManager.repository(Class<T> entityType, Class<I> idType) <ID,T> @Nullable Repository <ID, T> StateManager.repository(Class<T> entityType, Class<ID> idType) Returns theRepositoryfor the giventype.Methods in org.axonframework.modelling with parameters of type RepositoryModifier and TypeMethodDescription<I,T> StateManager HierarchicalStateManager.register(Repository<I, T> repository) <I,T> StateManager SimpleStateManager.register(Repository<I, T> repository) <ID,T> StateManager StateManager.register(Repository<ID, T> repository) Registers anRepositoryfor use with thisStateManager.Constructors in org.axonframework.modelling with parameters of type RepositoryModifierConstructorDescriptionRepositoryAlreadyRegisteredException(Repository<?, ?> repository, Repository<?, ?> existingRepository) Initialize the exception with a message that contains the types of the conflicting repositories. -
Uses of Repository in org.axonframework.modelling.configuration
Methods in org.axonframework.modelling.configuration with parameters of type RepositoryModifier and TypeMethodDescriptionStateBasedEntityModule.RepositoryPhase.repository(Repository<ID, E> repository) Registers the givenrepositoryfor the state-based entity being built.Method parameters in org.axonframework.modelling.configuration with type arguments of type RepositoryModifier and TypeMethodDescriptionStateBasedEntityModule.RepositoryPhase.repository(ComponentBuilder<Repository<ID, E>> repository) Registers the givenrepositoryas a factory method for the state-based entity being built. -
Uses of Repository in org.axonframework.modelling.entity
Constructors in org.axonframework.modelling.entity with parameters of type RepositoryModifierConstructorDescriptionEntityCommandHandlingComponent(Repository<ID, E> repository, EntityMetamodel<E> metamodel, EntityIdResolver<ID> idResolver) Creates a newCommandHandlingComponentthat handles commands for the given entity type. -
Uses of Repository in org.axonframework.modelling.repository
Subinterfaces of Repository in org.axonframework.modelling.repositoryModifier and TypeInterfaceDescriptionstatic interfaceSpecialization of theRepositoryinterface that must be implemented by all implementations of theRepository.Classes in org.axonframework.modelling.repository that implement RepositoryModifier and TypeClassDescriptionclassInMemoryRepository<ID,E> In-memory implementation of theRepositoryinterface that stores entities in aConcurrentHashMap.classSimpleRepository<ID,E> Simple implementation of anRepositorythat can load and persist entities of a given type. -
Uses of Repository in org.axonframework.modelling.repository.tracing
Classes in org.axonframework.modelling.repository.tracing that implement RepositoryModifier and TypeClassDescriptionfinal classTracingRepository<ID,E> DelegatingRepositorydecorator that opens internal tracing spans around the repository lifecycle operations (load,loadOrCreate,persist,attach). -
Uses of Repository in org.axonframework.modelling.tracing
Methods in org.axonframework.modelling.tracing that return RepositoryModifier and TypeMethodDescription<ID,T> @Nullable Repository <ID, T> TracingStateManager.repository(Class<T> entityType, Class<ID> idType) Methods in org.axonframework.modelling.tracing with parameters of type RepositoryModifier and TypeMethodDescription<ID,T> StateManager TracingStateManager.register(Repository<ID, T> repository) Registers anRepositoryfor use with thisStateManager.