类 DynamicSqlAutoConfiguration

java.lang.Object
com.dynamic.sql.starter.application.DynamicSqlAutoConfiguration

@Configuration @ConditionalOnBean(DataSource.class) public class DynamicSqlAutoConfiguration extends Object
  • 构造器详细资料

    • 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

      @Bean @DependsOn("sqlContext") public MapperBeanDefinitionRegistrar 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)