@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.r2dbc.connection.R2dbcTransactionManager.class,org.springframework.transaction.ReactiveTransactionManager.class}) @ConditionalOnSingleCandidate(value=io.r2dbc.spi.ConnectionFactory.class) @AutoConfigureOrder(value=2147483647) @AutoConfigureBefore(value=TransactionAutoConfiguration.class) public class R2dbcTransactionManagerAutoConfiguration extends Object
Constructor and Description |
---|
R2dbcTransactionManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
R2dbcTransactionManager |
connectionFactoryTransactionManager(io.r2dbc.spi.ConnectionFactory connectionFactory) |
public R2dbcTransactionManagerAutoConfiguration()
@Bean @ConditionalOnMissingBean(value=org.springframework.transaction.ReactiveTransactionManager.class) public R2dbcTransactionManager connectionFactoryTransactionManager(io.r2dbc.spi.ConnectionFactory connectionFactory)