public class PooledDSFactory extends Object implements DSFactory
| Constructor and Description |
|---|
PooledDSFactory() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
createDataSource(ConnectionConfig<?> config)
创建数据源
|
String |
getDataSourceName()
获取自定义的数据源名称,用于识别连接池
|
public String getDataSourceName()
DSFactorygetDataSourceName in interface DSFactorypublic DataSource createDataSource(ConnectionConfig<?> config)
DSFactorycreateDataSource in interface DSFactoryconfig - 数据库配置DataSourceCopyright © 2025. All rights reserved.