Interface RepositoryProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a repository for given aggregate type.
- Since:
- 3.3
- Author:
- Milan Savic
-
Method Summary
Modifier and TypeMethodDescription<T> Repository<T> repositoryFor(Class<T> aggregateType) Provides a repository for given aggregate type.
-
Method Details
-
repositoryFor
Provides a repository for given aggregate type.- Type Parameters:
T- type of the aggregate- Parameters:
aggregateType- type of the aggregate- Returns:
- repository given for aggregate type
-