public static final class AddJdbcDriver.Builder extends Object
datasources susbystem.| Constructor and Description |
|---|
Builder(String driverName,
String module) |
| Modifier and Type | Method and Description |
|---|---|
AddJdbcDriver |
build() |
AddJdbcDriver.Builder |
datasourceClass(String datasourceClass)
The fully qualified class name of the javax.sql.DataSource implementation
|
AddJdbcDriver.Builder |
driverClass(String driverClass)
The fully qualified class name of the java.sql.Driver implementation
|
AddJdbcDriver.Builder |
moduleSlot(String moduleSlot)
The slot of the module from which the driver was loaded, if it was loaded from the module path
|
AddJdbcDriver.Builder |
xaDatasourceClass(String xaDatasourceClass)
The fully qualified class name of the javax.sql.XADataSource implementation
|
public Builder(String driverName, String module)
driverName - Defines the JDBC driver the datasource should use. It is a symbolic name matching
the name of installed driver. In case the driver is deployed as jar, the name is the name
of the deployment unitmodule - the name of the module from which the driver should be loaded, if it is to be loaded
from the module pathpublic AddJdbcDriver.Builder driverClass(String driverClass)
public AddJdbcDriver.Builder datasourceClass(String datasourceClass)
public AddJdbcDriver.Builder xaDatasourceClass(String xaDatasourceClass)
public AddJdbcDriver.Builder moduleSlot(String moduleSlot)
public AddJdbcDriver build()
Copyright © 2024. All rights reserved.