public class DB2JdbcUrlCreator extends AbstractJdbcUrlCreator
| Modifier and Type | Field and Description |
|---|---|
static String |
DB2_LABEL |
static String |
DB2_SCHEME |
static String[] |
DB2_TAGS |
JDBC_PREFIX| Constructor and Description |
|---|
DB2JdbcUrlCreator() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildJdbcUrlFromUriField(io.pivotal.cfenv.core.CfCredentials cfCredentials) |
String |
getDriverClassName() |
boolean |
isDatabaseService(io.pivotal.cfenv.core.CfService cfService)
Identifies the provided service as a database service
|
createJdbcUrl, jdbcUrlMatchesSchemepublic static final String DB2_SCHEME
public static final String[] DB2_TAGS
public static final String DB2_LABEL
public boolean isDatabaseService(io.pivotal.cfenv.core.CfService cfService)
JdbcUrlCreatorcfService - a Cloud Foundry servicetrue if the service describes a database service, false
otherwise.public String buildJdbcUrlFromUriField(io.pivotal.cfenv.core.CfCredentials cfCredentials)
buildJdbcUrlFromUriField in class AbstractJdbcUrlCreatorpublic String getDriverClassName()