org.wildfly.extras.creaper.commands.datasources
Class AddJdbcDriver.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.datasources.AddJdbcDriver.Builder
Enclosing class:
AddJdbcDriver

public static final class AddJdbcDriver.Builder
extends Object

Builder for configuration attributes of a JDBC driver in the datasources susbystem.

See Also:
http://wildscribe.github.io/JBoss EAP/6.2.0/subsystem/datasources/jdbc-driver/

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

AddJdbcDriver.Builder

public AddJdbcDriver.Builder(String driverName,
                             String module)
Parameters:
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 unit
module - the name of the module from which the driver should be loaded, if it is to be loaded from the module path
Method Detail

driverClass

public AddJdbcDriver.Builder driverClass(String driverClass)
The fully qualified class name of the java.sql.Driver implementation


datasourceClass

public AddJdbcDriver.Builder datasourceClass(String datasourceClass)
The fully qualified class name of the javax.sql.DataSource implementation


xaDatasourceClass

public AddJdbcDriver.Builder xaDatasourceClass(String xaDatasourceClass)
The fully qualified class name of the javax.sql.XADataSource implementation


moduleSlot

public AddJdbcDriver.Builder moduleSlot(String moduleSlot)
The slot of the module from which the driver was loaded, if it was loaded from the module path


build

public AddJdbcDriver build()


Copyright © 2016. All rights reserved.