Package io.pivotal.cfenv.jdbc
Interface JdbcUrlCreator
- All Known Implementing Classes:
AbstractJdbcUrlCreator,DB2JdbcUrlCreator,MySqlJdbcUrlCreator,OracleJdbcUrlCreator,PostgresqlJdbcUrlCreator,SqlServerJdbcUrlCreator
public interface JdbcUrlCreator
Strategy interface for creating JDBC URL for various types of database services.
- Author:
- Mark Pollack
-
Method Summary
Modifier and TypeMethodDescriptioncreateJdbcUrl(io.pivotal.cfenv.core.CfService cfService) booleanisDatabaseService(io.pivotal.cfenv.core.CfService cfService) Identifies the provided service as a database service
-
Method Details
-
isDatabaseService
boolean isDatabaseService(io.pivotal.cfenv.core.CfService cfService) Identifies the provided service as a database service- Parameters:
cfService- a Cloud Foundry service- Returns:
trueif the service describes a database service,falseotherwise.
-
createJdbcUrl
-
getDriverClassName
String getDriverClassName()
-