Class R2dbcTransactionManagerAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.r2dbc.R2dbcTransactionManagerAutoConfiguration
@AutoConfiguration(before=TransactionAutoConfiguration.class)
@ConditionalOnClass({org.springframework.r2dbc.connection.R2dbcTransactionManager.class,org.springframework.transaction.ReactiveTransactionManager.class})
@ConditionalOnSingleCandidate(io.r2dbc.spi.ConnectionFactory.class)
@AutoConfigureOrder(2147483647)
public class R2dbcTransactionManagerAutoConfiguration
extends Object
- Since:
- 2.3.0
- Author:
- Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconnectionFactoryTransactionManager
(io.r2dbc.spi.ConnectionFactory connectionFactory)
-
Constructor Details
-
R2dbcTransactionManagerAutoConfiguration
public R2dbcTransactionManagerAutoConfiguration()
-
-
Method Details
-
connectionFactoryTransactionManager
@Bean @ConditionalOnMissingBean(org.springframework.transaction.ReactiveTransactionManager.class) public R2dbcTransactionManager connectionFactoryTransactionManager(io.r2dbc.spi.ConnectionFactory connectionFactory)
-