|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.config.DataBaseConfiguration
public class DataBaseConfiguration
This class is to hold, database configurations such as URL, userName, and password. Users can define them in resgirty.xml or at specify them at runtime using the APIs provided.
Constructor Summary | |
---|---|
DataBaseConfiguration()
|
Method Summary | |
---|---|
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 |
getMinIdle()
Method to obtain the minIdle value. |
String |
getPassWord()
Method to obtain the password. |
String |
getResolvedPassword()
|
String |
getUserName()
Method to obtain the user name. |
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 |
setMinIdle(String minIdle)
Method to set the minIdle value. |
void |
setPassWord(String password)
Method to set the password. |
void |
setPasswordManager(org.wso2.pwprovider.PasswordManager passwordManager)
|
void |
setUserName(String userName)
Method to set the user name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataBaseConfiguration()
Method Detail |
---|
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.pwprovider.PasswordManager passwordManager)
public String getResolvedPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |