public interface DataSourceInitEvent
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterCreate(DataSource dataSource)
连接池创建后执行
|
void |
beforeCreate(DataSourceProperty dataSourceProperty)
连接池创建前执行(可用于参数解密)
|
void beforeCreate(DataSourceProperty dataSourceProperty)
dataSourceProperty - 数据源基础信息void afterCreate(DataSource dataSource)
dataSource - 连接池Copyright © 2018–2022 baomidou. All rights reserved.