org.wildfly.swarm.config

## Class JPA<T extends JPA<T>>

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

- All Implemented Interfaces:
    Serializable, Cloneable, Map
  Direct Known Subclasses:
    JPAFraction

      public class JPA<T extends JPA<T>>
      extends HashMap

  The configuration of the JPA subsystem.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `JPA.DefaultExtendedPersistenceInheritance`

    - ### 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
    `JPA()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `defaultDatasource()` The name of the default global datasource.
    `T` | `defaultDatasource(String value)` The name of the default global datasource.
    `JPA.DefaultExtendedPersistenceInheritance` | `defaultExtendedPersistenceInheritance()` Controls how JPA extended persistence context (XPC) inheritance is performed.
    `T` | `defaultExtendedPersistenceInheritance(JPA.DefaultExtendedPersistenceInheritance value)` Controls how JPA extended persistence context (XPC) inheritance is performed.
    `String` | `getKey()`
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

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

    - #### JPA

          public JPA()

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

    - #### defaultDatasource

          public String defaultDatasource()

      The name of the default global datasource.

    - #### defaultDatasource

          public T defaultDatasource(String value)

      The name of the default global datasource.

    - #### defaultExtendedPersistenceInheritance

          public JPA.DefaultExtendedPersistenceInheritance defaultExtendedPersistenceInheritance()

      Controls how JPA extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level. 'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).

    - #### defaultExtendedPersistenceInheritance

          public T defaultExtendedPersistenceInheritance(JPA.DefaultExtendedPersistenceInheritance value)

      Controls how JPA extended persistence context (XPC) inheritance is performed. 'DEEP' shares the extended persistence context at top bean level. 'SHALLOW' the extended persistece context is only shared with the parent bean (never with sibling beans).

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