Class DataSourceConfig.DataSourceDefinition
java.lang.Object
org.apache.jackrabbit.core.config.DataSourceConfig.DataSourceDefinition
- Enclosing class:
DataSourceConfig
The definition of a DataSource.
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceDefinition(String name, Properties props) Creates a DataSourceDefinition from the given properties and throws aConfigurationExceptionwhen the set of properties does not satisfy some validity constraints. -
Method Summary
-
Constructor Details
-
DataSourceDefinition
Creates a DataSourceDefinition from the given properties and throws aConfigurationExceptionwhen the set of properties does not satisfy some validity constraints.- Parameters:
name- the logical name of the data sourceprops- the properties (string keys and values)- Throws:
ConfigurationException- on error
-
-
Method Details
-
getLogicalName
- Returns:
- the logicalName
-
getDriver
- Returns:
- the driver
-
getUrl
- Returns:
- the url
-
getUser
- Returns:
- the user
-
getDbType
- Returns:
- the dbType
-
getPassword
- Returns:
- the password
-
getValidationQuery
- Returns:
- the validationQuery
-
getMaxPoolSize
public int getMaxPoolSize()- Returns:
- the maxPoolSize
-