Uses of Interface
org.axonframework.modelling.repository.Repository
Packages that use Repository
Package
Description
Classes related to event sourcing.
-
Uses of Repository in org.axonframework.eventsourcing
Classes in org.axonframework.eventsourcing that implement RepositoryModifier and TypeClassDescriptionclassEventSourcingRepository<ID,E> Repositoryimplementation that loads entities based on their historic event streams, provided by anEventStore. -
Uses of Repository in org.axonframework.modelling
Methods in org.axonframework.modelling that return RepositoryModifier and TypeMethodDescription<I,T> Repository <I, T> HierarchicalStateManager.repository(Class<T> entityType, Class<I> idType) <I,T> Repository <I, T> SimpleStateManager.repository(Class<T> entityType, Class<I> idType) <ID,T> 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
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 TypeClassDescriptionclassRepository implementation that ensures safe concurrent access to entities stored in it.classInMemoryRepository<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.