Package io.micronaut.data.operations
Interface RepositoryOperationsRegistry
public interface RepositoryOperationsRegistry
The registry of
RepositoryOperations
.- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription<T extends RepositoryOperations>
TProvide repository operations.
-
Method Details
-
provide
@NonNull <T extends RepositoryOperations> T provide(Class<T> repositoryType, @Nullable @Nullable String dataSourceName) Provide repository operations.- Type Parameters:
T
- The operations type- Parameters:
repositoryType
- The operations typedataSourceName
- The datasource name- Returns:
- the provided instance
-