@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.data.r2dbc.core.DatabaseClient.class) @ConditionalOnMissingBean(value=org.springframework.data.r2dbc.core.DatabaseClient.class) @ConditionalOnSingleCandidate(value=io.r2dbc.spi.ConnectionFactory.class) @AutoConfigureAfter(value=R2dbcAutoConfiguration.class) public class R2dbcDataAutoConfiguration extends Object
Auto-configuration
for DatabaseClient
.Constructor and Description |
---|
R2dbcDataAutoConfiguration(io.r2dbc.spi.ConnectionFactory connectionFactory) |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.r2dbc.convert.R2dbcCustomConversions |
r2dbcCustomConversions() |
org.springframework.data.r2dbc.core.DatabaseClient |
r2dbcDatabaseClient(org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy dataAccessStrategy,
org.springframework.data.r2dbc.support.R2dbcExceptionTranslator exceptionTranslator) |
org.springframework.data.r2dbc.support.R2dbcExceptionTranslator |
r2dbcExceptionTranslator() |
org.springframework.data.r2dbc.mapping.R2dbcMappingContext |
r2dbcMappingContext(ObjectProvider<org.springframework.data.relational.core.mapping.NamingStrategy> namingStrategy,
org.springframework.data.r2dbc.convert.R2dbcCustomConversions r2dbcCustomConversions) |
org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy |
reactiveDataAccessStrategy(org.springframework.data.r2dbc.mapping.R2dbcMappingContext mappingContext,
org.springframework.data.r2dbc.convert.R2dbcCustomConversions r2dbcCustomConversions) |
public R2dbcDataAutoConfiguration(io.r2dbc.spi.ConnectionFactory connectionFactory)
@Bean @ConditionalOnMissingBean public org.springframework.data.r2dbc.core.DatabaseClient r2dbcDatabaseClient(org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy dataAccessStrategy, org.springframework.data.r2dbc.support.R2dbcExceptionTranslator exceptionTranslator)
@Bean @ConditionalOnMissingBean public org.springframework.data.r2dbc.mapping.R2dbcMappingContext r2dbcMappingContext(ObjectProvider<org.springframework.data.relational.core.mapping.NamingStrategy> namingStrategy, org.springframework.data.r2dbc.convert.R2dbcCustomConversions r2dbcCustomConversions)
@Bean @ConditionalOnMissingBean public org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy reactiveDataAccessStrategy(org.springframework.data.r2dbc.mapping.R2dbcMappingContext mappingContext, org.springframework.data.r2dbc.convert.R2dbcCustomConversions r2dbcCustomConversions)
@Bean @ConditionalOnMissingBean public org.springframework.data.r2dbc.convert.R2dbcCustomConversions r2dbcCustomConversions()
@Bean @ConditionalOnMissingBean public org.springframework.data.r2dbc.support.R2dbcExceptionTranslator r2dbcExceptionTranslator()