类 DynamicSqlAutoConfiguration
java.lang.Object
com.dynamic.sql.starter.application.DynamicSqlAutoConfiguration
@Configuration
@ConditionalOnBean(DataSource.class)
public class DynamicSqlAutoConfiguration
extends Object
-
构造器概要
构造器构造器说明DynamicSqlAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, List<com.dynamic.sql.context.properties.SchemaProperties> schemaProperties) -
方法概要
修饰符和类型方法说明dbSchemaMatcherRegistrar(List<com.dynamic.sql.plugins.schema.DbSchemaMatcher> schemaMatchers) com.dynamic.sql.plugins.exception.ExceptionPluginfetchResultConverterRegistrar(List<com.dynamic.sql.plugins.conversion.FetchResultConverter<?>> fetchResultConverters) com.dynamic.sql.plugins.pagination.PageInterceptorPlugincom.dynamic.sql.core.SqlContextsqlContext(DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar, SqlInterceptorRegistrar sqlInterceptorRegistrar, com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties) com.dynamic.sql.context.properties.SqlContextPropertiessqlInterceptorRegistrar(List<com.dynamic.sql.interceptor.SqlInterceptor> interceptors)
-
构造器详细资料
-
DynamicSqlAutoConfiguration
@Autowired public DynamicSqlAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, List<com.dynamic.sql.context.properties.SchemaProperties> schemaProperties)
-
-
方法详细资料
-
pageInterceptorPlugin
@Bean public com.dynamic.sql.plugins.pagination.PageInterceptorPlugin pageInterceptorPlugin() -
exceptionPlugin
@Bean public com.dynamic.sql.plugins.exception.ExceptionPlugin exceptionPlugin() -
mapperBeanDefinitionRegistrar
-
sqlInterceptorRegistrar
@Bean public SqlInterceptorRegistrar sqlInterceptorRegistrar(List<com.dynamic.sql.interceptor.SqlInterceptor> interceptors) -
dbSchemaMatcherRegistrar
@Bean("dbSchemaMatcherRegistrar") public DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar(List<com.dynamic.sql.plugins.schema.DbSchemaMatcher> schemaMatchers) -
fetchResultConverterRegistrar
@Bean("fetchResultConverterRegistrar") public FetchResultConverterRegistrar fetchResultConverterRegistrar(List<com.dynamic.sql.plugins.conversion.FetchResultConverter<?>> fetchResultConverters) -
sqlContextProperties
@Bean("sqlContextProperties") @ConditionalOnMissingBean public com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties() -
sqlContext
@Bean @ConditionalOnMissingBean @DependsOn({"fetchResultConverterRegistrar","dbSchemaMatcherRegistrar","sqlContextProperties"}) public com.dynamic.sql.core.SqlContext sqlContext(DbSchemaMatcherRegistrar dbSchemaMatcherRegistrar, SqlInterceptorRegistrar sqlInterceptorRegistrar, com.dynamic.sql.context.properties.SqlContextProperties sqlContextProperties)
-