@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=io.r2dbc.spi.ConnectionFactory.class)
@ConditionalOnResource(resources="classpath:META-INF/services/io.r2dbc.spi.ConnectionFactoryProvider")
@AutoConfigureBefore(value={DataSourceAutoConfiguration.class,SqlInitializationAutoConfiguration.class})
@EnableConfigurationProperties(value=R2dbcProperties.class)
@Import(value={org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations.PoolConfiguration.class,org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations.GenericConfiguration.class,org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryDependentConfiguration.class})
public class R2dbcAutoConfiguration
extends Object
- Since:
- 2.3.0
- Author:
- Mark Paluch, Stephane Nicoll