Package io.micronaut.data.operations
Interface RepositoryOperationsRegistry
-
public interface RepositoryOperationsRegistry
The registry ofRepositoryOperations
.- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends RepositoryOperations>
Tprovide(java.lang.Class<T> repositoryType, java.lang.String dataSourceName)
Provide repository operations.
-
-
-
Method Detail
-
provide
@NonNull <T extends RepositoryOperations> T provide(java.lang.Class<T> repositoryType, @Nullable java.lang.String dataSourceName)
Provide repository operations.- Type Parameters:
T
- The operations type- Parameters:
repositoryType
- The operations typedataSourceName
- The datasource name- Returns:
- the provided instance
-
-