Package io.micronaut.transaction
Interface TransactionOperationsRegistry
@Internal
public interface TransactionOperationsRegistry
The registry of various transactional operations managers.
- Since:
- 3.9.0
- Author:
- Denis Stepanov
- 
Method SummaryModifier and TypeMethodDescription<T extends AsyncTransactionOperations<?>>
 TprovideAsync(Class<T> transactionManagerType, @Nullable String dataSourceName) Provide async transaction operations.<T extends ReactiveTransactionOperations<?>>
 TprovideReactive(Class<T> transactionManagerType, @Nullable String dataSourceName) Provide reactive transaction operations.<T extends TransactionOperations<?>>
 TprovideSynchronous(Class<T> transactionManagerType, @Nullable String dataSourceName) Provide synchronous transaction operations.
- 
Method Details- 
provideSynchronous@NonNull <T extends TransactionOperations<?>> T provideSynchronous(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName) Provide synchronous transaction operations.- Type Parameters:
- T- The operations type
- Parameters:
- transactionManagerType- The operations type
- dataSourceName- The datasource name
- Returns:
- the provided instance
 
- 
provideReactive@NonNull <T extends ReactiveTransactionOperations<?>> T provideReactive(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName) Provide reactive transaction operations.- Type Parameters:
- T- The operations type
- Parameters:
- transactionManagerType- The operations type
- dataSourceName- The datasource name
- Returns:
- the provided instance
 
- 
provideAsync<T extends AsyncTransactionOperations<?>> T provideAsync(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName) Provide async transaction operations.- Type Parameters:
- T- The operations type
- Parameters:
- transactionManagerType- The operations type
- dataSourceName- The datasource name
- Returns:
- the provided instance
 
 
-