@Configuration @ConditionalOnBean(value=javax.sql.DataSource.class) public class DynamicSqlAutoConfiguration extends Object
| 构造器和说明 |
|---|
DynamicSqlAutoConfiguration(org.springframework.context.ApplicationContext applicationContext,
List<com.dynamic.sql.context.properties.SchemaProperties> schemaProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
DbSchemaMatcherRegistrar |
dbSchemaMatcherRegistrar(List<com.dynamic.sql.plugins.schema.DbSchemaMatcher> schemaMatchers) |
com.dynamic.sql.plugins.exception.ExceptionPlugin |
exceptionPlugin() |
FetchResultConverterRegistrar |
fetchResultConverterRegistrar(List<com.dynamic.sql.plugins.conversion.FetchResultConverter<?>> fetchResultConverters) |
MapperBeanDefinitionRegistrar |
mapperBeanDefinitionRegistrar() |
com.dynamic.sql.plugins.pagination.PageInterceptorPlugin |
pageInterceptorPlugin() |
com.dynamic.sql.core.SqlContext |
sqlContext(DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar,
SqlInterceptorRegistrar sqlInterceptorRegistrar,
com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties) |
com.dynamic.sql.context.properties.SqlContextProperties |
sqlContextProperties() |
SqlInterceptorRegistrar |
sqlInterceptorRegistrar(List<com.dynamic.sql.interceptor.SqlInterceptor> interceptors) |
@Autowired
public DynamicSqlAutoConfiguration(org.springframework.context.ApplicationContext applicationContext,
List<com.dynamic.sql.context.properties.SchemaProperties> schemaProperties)
@Bean public com.dynamic.sql.plugins.pagination.PageInterceptorPlugin pageInterceptorPlugin()
@Bean public com.dynamic.sql.plugins.exception.ExceptionPlugin exceptionPlugin()
@Bean @DependsOn(value="sqlContext") public MapperBeanDefinitionRegistrar mapperBeanDefinitionRegistrar()
@Bean public SqlInterceptorRegistrar sqlInterceptorRegistrar(List<com.dynamic.sql.interceptor.SqlInterceptor> interceptors)
@Bean(value="dbSchemaMatcherRegistrar") public DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar(List<com.dynamic.sql.plugins.schema.DbSchemaMatcher> schemaMatchers)
@Bean(value="fetchResultConverterRegistrar") public FetchResultConverterRegistrar fetchResultConverterRegistrar(List<com.dynamic.sql.plugins.conversion.FetchResultConverter<?>> fetchResultConverters)
@Bean(value="sqlContextProperties") @ConditionalOnMissingBean public com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties()
@Bean
@ConditionalOnMissingBean
@DependsOn(value={"fetchResultConverterRegistrar","dbSchemaMatcherRegistrar","sqlContextProperties"})
public com.dynamic.sql.core.SqlContext sqlContext(DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar,
SqlInterceptorRegistrar sqlInterceptorRegistrar,
com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties)
Copyright © 2024–2026 Dynamic-SQL. All rights reserved.