Package | Description |
---|---|
org.axonframework.modelling.command |
Modifier and Type | Method and Description |
---|---|
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.aggregateModel(AggregateModel<T> aggregateModel) |
static <T> GenericJpaRepository.Builder<T> |
GenericJpaRepository.builder(Class<T> aggregateType)
Instantiate a Builder to be able to create a
GenericJpaRepository for aggregate type T . |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.entityManagerProvider(EntityManagerProvider entityManagerProvider)
Sets the
EntityManagerProvider which provides the EntityManager instance for this repository. |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.eventBus(EventBus eventBus)
Sets the
EventBus to which events are published. |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.handlerDefinition(HandlerDefinition handlerDefinition) |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.identifierConverter(Function<String,?> identifierConverter)
|
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.lockFactory(LockFactory lockFactory) |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.parameterResolverFactory(ParameterResolverFactory parameterResolverFactory) |
GenericJpaRepository.Builder<T> |
GenericJpaRepository.Builder.repositoryProvider(RepositoryProvider repositoryProvider)
Sets the
RepositoryProvider which services repositories for specific aggregate types. |
Constructor and Description |
---|
GenericJpaRepository(GenericJpaRepository.Builder<T> builder)
Instantiate a
GenericJpaRepository based on the fields contained in the GenericJpaRepository.Builder . |
Copyright © 2010–2022. All rights reserved.