@Order
@Configuration
@ConditionalOnProperty(prefix="table-modify",
name="database-type",
havingValue="postgresql")
public class PgSqlTableModifyConfig
extends Object
| 构造器和说明 |
|---|
PgSqlTableModifyConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
PgSqlStartUpHandler |
startUpHandler(PgSqlTableHandlerService pgSqlTableHandlerService,
cn.bootx.table.modify.properties.TableModifyProperties tableModifyProperties)
创建Bean并执行
|
cn.bootx.table.modify.properties.TableModifyProperties |
tableModifyProperties()
注入bean
|
@Bean @ConfigurationProperties(prefix="table-modify") public cn.bootx.table.modify.properties.TableModifyProperties tableModifyProperties()
@Bean public PgSqlStartUpHandler startUpHandler(PgSqlTableHandlerService pgSqlTableHandlerService, cn.bootx.table.modify.properties.TableModifyProperties tableModifyProperties)
Copyright © 2023. All rights reserved.