public interface DataSourcePropertiesSetter
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getType()
Get type name of data source.
|
void |
propertiesSet(org.springframework.core.env.Environment environment,
String prefix,
String dataSourceName,
DataSource dataSource)
Set datasource custom properties.
|
void propertiesSet(org.springframework.core.env.Environment environment,
String prefix,
String dataSourceName,
DataSource dataSource)
environment - environment variableprefix - properties prefixdataSourceName - current database namedataSource - dataSource instanceString getType()
Copyright © 2020 The Apache Software Foundation. All rights reserved.