public static final class DataSourceConfig.DataSourceDefinition extends Object
Constructor and Description |
---|
DataSourceDefinition(String name,
Properties props)
Creates a DataSourceDefinition from the given properties and
throws a
ConfigurationException when the set of properties does not
satisfy some validity constraints. |
Modifier and Type | Method and Description |
---|---|
String |
getDbType() |
String |
getDriver() |
String |
getLogicalName() |
int |
getMaxPoolSize() |
String |
getPassword() |
String |
getUrl() |
String |
getUser() |
String |
getValidationQuery() |
public DataSourceDefinition(String name, Properties props) throws ConfigurationException
ConfigurationException
when the set of properties does not
satisfy some validity constraints.name
- the logical name of the data sourceprops
- the properties (string keys and values)ConfigurationException
- on errorpublic String getLogicalName()
public String getDriver()
public String getUrl()
public String getUser()
public String getDbType()
public String getPassword()
public String getValidationQuery()
public int getMaxPoolSize()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.