Interface DatabaseConfigService
- All Known Subinterfaces:
DatabaseConfigServiceCompileTime
,DatabaseConfigServiceRuntime
- All Known Implementing Classes:
DatabaseConfigServiceImpl
public interface DatabaseConfigService
Service providing database connection factory and configuration information
for use with historical data polling.
-
Method Summary
Modifier and TypeMethodDescriptiongetConnectionFactory
(String databaseName) Returns a connection factory for a configured database.
-
Method Details
-
getConnectionFactory
Returns a connection factory for a configured database.- Parameters:
databaseName
- is the name of the database- Returns:
- is a connection factory to use to get connections to the database
- Throws:
DatabaseConfigException
- is thrown to indicate database configuration errors
-