org.wildfly.swarm.config.datasources

## Class JDBCDriver<T extends JDBCDriver<T>>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap
    - - org.wildfly.swarm.config.datasources.JDBCDriver<T>

- All Implemented Interfaces:
    Serializable, Cloneable, Map

      public class JDBCDriver<T extends JDBCDriver<T>>
      extends HashMap

  Service that make a JDBC driver available for use in the runtime
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JDBCDriver(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `deploymentName()` The name of the deployment unit from which the driver was loaded
    `T` | `deploymentName(String value)` The name of the deployment unit from which the driver was loaded
    `String` | `driverClassName()` The fully qualified class name of the java.sql.Driver implementation
    `T` | `driverClassName(String value)` The fully qualified class name of the java.sql.Driver implementation
    `String` | `driverDatasourceClassName()` The fully qualified class name of the javax.sql.DataSource implementation
    `T` | `driverDatasourceClassName(String value)` The fully qualified class name of the javax.sql.DataSource implementation
    `Integer` | `driverMajorVersion()` The driver's major version number
    `T` | `driverMajorVersion(Integer value)` The driver's major version number
    `Integer` | `driverMinorVersion()` The driver's minor version number
    `T` | `driverMinorVersion(Integer value)` The driver's minor version number
    `String` | `driverModuleName()` The name of the module from which the driver was loaded, if it was loaded from the module path
    `T` | `driverModuleName(String value)` The name of the module from which the driver was loaded, if it was loaded from the module path
    `String` | `driverName()` Defines the JDBC driver the datasource should use.
    `T` | `driverName(String value)` Defines the JDBC driver the datasource should use.
    `String` | `driverXaDatasourceClassName()` The fully qualified class name of the javax.sql.XADataSource implementation
    `T` | `driverXaDatasourceClassName(String value)` The fully qualified class name of the javax.sql.XADataSource implementation
    `String` | `getKey()`
    `Boolean` | `jdbcCompliant()` Whether or not the driver is JDBC compliant
    `T` | `jdbcCompliant(Boolean value)` Whether or not the driver is JDBC compliant
    `String` | `moduleSlot()` The slot of the module from which the driver was loaded, if it was loaded from the module path
    `T` | `moduleSlot(String value)` The slot of the module from which the driver was loaded, if it was loaded from the module path
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `String` | `xaDatasourceClass()` XA datasource class
    `T` | `xaDatasourceClass(String value)` XA datasource class

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### JDBCDriver

          public JDBCDriver(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### deploymentName

          public String deploymentName()

      The name of the deployment unit from which the driver was loaded

    - #### deploymentName

          public T deploymentName(String value)

      The name of the deployment unit from which the driver was loaded

    - #### driverClassName

          public String driverClassName()

      The fully qualified class name of the java.sql.Driver implementation

    - #### driverClassName

          public T driverClassName(String value)

      The fully qualified class name of the java.sql.Driver implementation

    - #### driverDatasourceClassName

          public String driverDatasourceClassName()

      The fully qualified class name of the javax.sql.DataSource implementation

    - #### driverDatasourceClassName

          public T driverDatasourceClassName(String value)

      The fully qualified class name of the javax.sql.DataSource implementation

    - #### driverMajorVersion

          public Integer driverMajorVersion()

      The driver's major version number

    - #### driverMajorVersion

          public T driverMajorVersion(Integer value)

      The driver's major version number

    - #### driverMinorVersion

          public Integer driverMinorVersion()

      The driver's minor version number

    - #### driverMinorVersion

          public T driverMinorVersion(Integer value)

      The driver's minor version number

    - #### driverModuleName

          public String driverModuleName()

      The name of the module from which the driver was loaded, if it was loaded from the module path

    - #### driverModuleName

          public T driverModuleName(String value)

      The name of the module from which the driver was loaded, if it was loaded from the module path

    - #### driverName

          public String driverName()

      Defines the JDBC driver the datasource should use. It is a symbolic name matching the the name of installed driver. In case the driver is deployed as jar, the name is the name of deployment unit

    - #### driverName

          public T driverName(String value)

      Defines the JDBC driver the datasource should use. It is a symbolic name matching the the name of installed driver. In case the driver is deployed as jar, the name is the name of deployment unit

    - #### driverXaDatasourceClassName

          public String driverXaDatasourceClassName()

      The fully qualified class name of the javax.sql.XADataSource implementation

    - #### driverXaDatasourceClassName

          public T driverXaDatasourceClassName(String value)

      The fully qualified class name of the javax.sql.XADataSource implementation

    - #### jdbcCompliant

          public Boolean jdbcCompliant()

      Whether or not the driver is JDBC compliant

    - #### jdbcCompliant

          public T jdbcCompliant(Boolean value)

      Whether or not the driver is JDBC compliant

    - #### moduleSlot

          public String moduleSlot()

      The slot of the module from which the driver was loaded, if it was loaded from the module path

    - #### moduleSlot

          public T moduleSlot(String value)

      The slot of the module from which the driver was loaded, if it was loaded from the module path

    - #### xaDatasourceClass

          public String xaDatasourceClass()

      XA datasource class

    - #### xaDatasourceClass

          public T xaDatasourceClass(String value)

      XA datasource class

Copyright © 2018 JBoss by Red Hat. All rights reserved.