public abstract class JdbcConnectionProvider
extends Object
| Constructor and Description | 
|---|
| JdbcConnectionProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | canHandle(java.sql.Driver driver,
         scala.collection.immutable.Map<String,String> options)Checks if this connection provider instance can handle the connection initiated by the driver. | 
| abstract java.sql.Connection | getConnection(java.sql.Driver driver,
             scala.collection.immutable.Map<String,String> options)Opens connection to the database. | 
| abstract boolean | modifiesSecurityContext(java.sql.Driver driver,
                       scala.collection.immutable.Map<String,String> options)Checks if this connection provider instance needs to modify global security configuration to
 handle authentication and thus should synchronize access to the security configuration while
 the given driver is initiating a connection with the given options. | 
| abstract String | name()Name of the service to provide JDBC connections. | 
public abstract boolean canHandle(java.sql.Driver driver,
                                  scala.collection.immutable.Map<String,String> options)
IllegalArgumentException
 will be thrown by the provider framework.
 driver - Java driver which initiates the connectionoptions - Driver options which initiates the connectionpublic abstract java.sql.Connection getConnection(java.sql.Driver driver,
                                                  scala.collection.immutable.Map<String,String> options)
SecurityConfigurationLock to avoid race when
 modifiesSecurityContext returns true for the given driver with the given options.
 driver - Java driver which initiates the connectionoptions - Driver options which initiates the connectionConnection object that represents a connection to the URLpublic abstract boolean modifiesSecurityContext(java.sql.Driver driver,
                                                scala.collection.immutable.Map<String,String> options)
driver - Java driver which initiates the connectionoptions - Driver options which initiates the connectionpublic abstract String name()