|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wildfly.extras.creaper.commands.datasources.AddJdbcDriver.Builder
public static final class AddJdbcDriver.Builder
Builder for configuration attributes of a JDBC driver in the datasources susbystem.
| Constructor Summary | |
|---|---|
AddJdbcDriver.Builder(String driverName,
String module)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddJdbcDriver.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 path| Method Detail |
|---|
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||