Class MySqlJdbcUrlCreator

java.lang.Object
io.pivotal.cfenv.jdbc.AbstractJdbcUrlCreator
io.pivotal.cfenv.jdbc.MySqlJdbcUrlCreator
All Implemented Interfaces:
JdbcUrlCreator

public class MySqlJdbcUrlCreator extends AbstractJdbcUrlCreator
Author:
Mark Pollack
  • Field Details

  • Constructor Details

    • MySqlJdbcUrlCreator

      public MySqlJdbcUrlCreator()
  • Method Details

    • isDatabaseService

      public boolean isDatabaseService(io.pivotal.cfenv.core.CfService cfService)
      Description copied from interface: JdbcUrlCreator
      Identifies the provided service as a database service
      Parameters:
      cfService - a Cloud Foundry service
      Returns:
      true if the service describes a database service, false otherwise.
    • getDriverClassName

      public String getDriverClassName()
    • buildJdbcUrlFromUriField

      public String buildJdbcUrlFromUriField(io.pivotal.cfenv.core.CfCredentials cfCredentials)
      Specified by:
      buildJdbcUrlFromUriField in class AbstractJdbcUrlCreator