public final class HikariDataSourcePropertiesSetter extends Object implements DataSourcePropertiesSetter
| Constructor and Description |
|---|
HikariDataSourcePropertiesSetter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void propertiesSet(org.springframework.core.env.Environment environment,
String prefix,
String dataSourceName,
DataSource dataSource)
DataSourcePropertiesSetterpropertiesSet in interface DataSourcePropertiesSetterenvironment - environment variableprefix - properties prefixdataSourceName - current database namedataSource - dataSource instancepublic String getType()
DataSourcePropertiesSettergetType in interface DataSourcePropertiesSetterCopyright © 2020 The Apache Software Foundation. All rights reserved.