ConnectionFactoryOptions and optionally return an implementation of ConnectionFactory.
ConnectionFactoryProvider implementations are typically discovered by ConnectionFactories from the class path using ServiceLoader.
ConnectionFactoryOptions, ConnectionFactory, ConnectionFactories, ServiceLoader
| Modifier and Type | Method and Description |
|---|---|
| public ConnectionFactory | create(ConnectionFactoryOptions
a collection of connectionFactoryOptions)ConnectionFactoryOptionsCreates a new |
| public String | Returns: the driver identifier used by the driverReturns the driver identifier used by the driver. |
| public boolean | Returns: true if this ConnectionFactoryProvider supports this collection of ConnectionFactoryOptions, false otherwisea collection of connectionFactoryOptions)ConnectionFactoryOptionsWhether this |
| create | back to summary |
|---|---|
| public ConnectionFactory create(ConnectionFactoryOptions connectionFactoryOptions) Creates a new
| |
| getDriver | back to summary |
|---|---|
| public String getDriver() Returns the driver identifier used by the driver.
The identifier for drivers would be the value applicable to
| |
| supports | back to summary |
|---|---|
| public boolean supports(ConnectionFactoryOptions connectionFactoryOptions) Whether this
| |