public class DataBaseConfiguration extends Object
Constructor and Description |
---|
DataBaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getConfigName()
Method to obtain the name of the configuration.
|
String |
getDataSourceName()
Method to obtain the name of the data source.
|
String |
getDbUrl()
Method to obtain the database URL.
|
String |
getDriverName()
Method to obtain the name of the driver.
|
String |
getMaxActive()
Method to obtain the maxActive value.
|
String |
getMaxIdle()
Method to obtain the maxIdle value.
|
String |
getMaxWait()
Method to obtain the maxWait value.
|
String |
getMinEvictableIdleTimeMillis()
Method to obtain the min evictable idle time millis of the data source.
|
String |
getMinIdle()
Method to obtain the minIdle value.
|
String |
getNumTestsPerEvictionRun()
Method to obtain the name of the data source.
|
String |
getPassWord()
Method to obtain the password.
|
String |
getResolvedPassword()
If the password is protected , then decrypts the password and returns the
plain text Otherwise, returns the given password as-is
|
String |
getTestWhileIdle()
Method to obtain the test while idle of the data source.
|
String |
getTimeBetweenEvictionRunsMillis()
Method to obtain the time between eviction runs millis of the data
source.
|
String |
getUserName()
Method to obtain the user name.
|
String |
getValidationQuery()
Method to obtain the validation query value.
|
void |
setConfigName(String configName)
Method to set the name of the configuration.
|
void |
setDataSourceName(String dataSourceName)
Method to set the name of the data source.
|
void |
setDbUrl(String dbUrl)
Method to set the database URL.
|
void |
setDriverName(String driverName)
Method to set the name of the driver.
|
void |
setMaxActive(String maxActive)
Method to set the maxActive value.
|
void |
setMaxIdle(String maxIdle)
Method to set the maxIdle value.
|
void |
setMaxWait(String maxWait)
Method to set the maxWait value.
|
void |
setMinEvictableIdleTimeMillis(String minEvictableIdleTimeMillis)
Method to set the Min Evictable Idle Time Millis of the data source.
|
void |
setMinIdle(String minIdle)
Method to set the minIdle value.
|
void |
setNumTestsPerEvictionRun(String numTestsPerEvictionRun)
Method to set the Num Tests PerEviction Run of the data source.
|
void |
setPassWord(String password)
Method to set the password.
|
void |
setPasswordManager(org.wso2.securevault.SecretResolver secretResolver) |
void |
setTestWhileIdle(String testWhileIdle)
Method to set the TestWhileIdle of the data source.
|
void |
setTimeBetweenEvictionRunsMillis(String timeBetweenEvictionRunsMillis)
Method to set the Time Between Eviction Runs Millis of the data source.
|
void |
setUserName(String userName)
Method to set the user name.
|
void |
setValidationQuery(String validationQuery)
Method to set the validation query value.
|
public String getTestWhileIdle()
public void setTestWhileIdle(String testWhileIdle)
testWhileIdle
- the value of TestWhileIdle of the data source.public String getTimeBetweenEvictionRunsMillis()
public void setTimeBetweenEvictionRunsMillis(String timeBetweenEvictionRunsMillis)
timeBetweenEvictionRunsMillis
- the value of the timeBetweenEvictionRunsMillis of the data
source.public String getMinEvictableIdleTimeMillis()
public void setMinEvictableIdleTimeMillis(String minEvictableIdleTimeMillis)
minEvictableIdleTimeMillis
- the value of the minEvictableIdleTimeMillis of the data
source.public String getNumTestsPerEvictionRun()
public void setNumTestsPerEvictionRun(String numTestsPerEvictionRun)
numTestsPerEvictionRun
- the value of NumTestsPerEvictionRun of the data source.public String getDataSourceName()
public void setDataSourceName(String dataSourceName)
dataSourceName
- the name of the data source.public String getDbUrl()
public void setDbUrl(String dbUrl)
dbUrl
- the database URL.public String getUserName()
public void setUserName(String userName)
userName
- the user name.public String getPassWord()
public void setPassWord(String password)
password
- the password.public String getDriverName()
public void setDriverName(String driverName)
driverName
- the name of the driver.public String getConfigName()
public void setConfigName(String configName)
configName
- the name of the configuration.public String getMaxWait()
public void setMaxWait(String maxWait)
maxWait
- the maxWait value defined.public String getMaxActive()
public void setMaxActive(String maxActive)
maxActive
- the maxActive value defined.public String getMaxIdle()
public void setMaxIdle(String maxIdle)
maxIdle
- the maxIdle value defined.public String getMinIdle()
public void setMinIdle(String minIdle)
minIdle
- the minIdle value defined.public void setPasswordManager(org.wso2.securevault.SecretResolver secretResolver)
public String getResolvedPassword()
public String getValidationQuery()
public void setValidationQuery(String validationQuery)
validationQuery
- the validation query value defined.Copyright © 2016 WSO2 Inc. All Rights Reserved.