Interface ConnectionProvider

All Known Implementing Classes:
BasicConnectionProvider

public interface ConnectionProvider
Implement this interface in order to handle physical connection creation process.
  • Method Summary

    Modifier and Type Method Description
    ConnectionImpl connect​(HostInfo host)
    Called once per connection that needs to be created.
  • Method Details

    • connect

      ConnectionImpl connect​(HostInfo host) throws java.sql.SQLException
      Called once per connection that needs to be created.
      Parameters:
      host - Host information for the host of the desired connection.
      Returns:
      ConnectionImpl
      Throws:
      java.sql.SQLException