@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.r2dbc.connectionfactory.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
Auto-configuration
for R2dbcTransactionManager
.Constructor and Description |
---|
R2dbcTransactionManagerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.r2dbc.connectionfactory.R2dbcTransactionManager |
connectionFactoryTransactionManager(io.r2dbc.spi.ConnectionFactory connectionFactory) |
public R2dbcTransactionManagerAutoConfiguration()
@Bean @ConditionalOnMissingBean(value=org.springframework.transaction.ReactiveTransactionManager.class) public org.springframework.data.r2dbc.connectionfactory.R2dbcTransactionManager connectionFactoryTransactionManager(io.r2dbc.spi.ConnectionFactory connectionFactory)