public static final class DataSourceConfig.DataSourceDefinition
extends java.lang.Object
Constructor and Description |
---|
DataSourceDefinition(java.lang.String name,
java.util.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 |
---|---|
java.lang.String |
getDbType() |
java.lang.String |
getDriver() |
java.lang.String |
getLogicalName() |
int |
getMaxPoolSize() |
java.lang.String |
getPassword() |
java.lang.String |
getUrl() |
java.lang.String |
getUser() |
java.lang.String |
getValidationQuery() |
public DataSourceDefinition(java.lang.String name, java.util.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 java.lang.String getLogicalName()
public java.lang.String getDriver()
public java.lang.String getUrl()
public java.lang.String getUser()
public java.lang.String getDbType()
public java.lang.String getPassword()
public java.lang.String getValidationQuery()
public int getMaxPoolSize()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"