org.wildfly.swarm.config.datasources.data_source

## Class ConnectionProperties<T extends ConnectionProperties<T>>

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

- All Implemented Interfaces:
    Serializable, Cloneable, Map

      public class ConnectionProperties<T extends ConnectionProperties<T>>
      extends HashMap

  The connection-properties element allows you to pass in arbitrary connection properties to the Driver.connect(url, props) method
  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
    `ConnectionProperties(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` | `getKey()`
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `String` | `value()` Each connection-property specifies a string name/value pair with the property name coming from the name attribute and the value coming from the element content
    `T` | `value(String value)` Each connection-property specifies a string name/value pair with the property name coming from the name attribute and the value coming from the element content

    - ### 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

    - #### ConnectionProperties

          public ConnectionProperties(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

    - #### value

          public String value()

      Each connection-property specifies a string name/value pair with the property name coming from the name attribute and the value coming from the element content

    - #### value

          public T value(String value)

      Each connection-property specifies a string name/value pair with the property name coming from the name attribute and the value coming from the element content

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