org.keycloak.connections.jpa

## Class DefaultJpaConnectionProviderFactory

- java.lang.Object
- - org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory

- All Implemented Interfaces:
    JpaConnectionProviderFactory, ProviderFactory<JpaConnectionProvider>

      public class DefaultJpaConnectionProviderFactory
      extends Object
      implements JpaConnectionProviderFactory

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultJpaConnectionProviderFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `JpaConnectionProvider` | `create(KeycloakSession session)`
    `String` | `getId()`
    `void` | `init(Config.Scope config)`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultJpaConnectionProviderFactory

          public DefaultJpaConnectionProviderFactory()

  - ### Method Detail

    - #### create

          public JpaConnectionProvider create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<JpaConnectionProvider>`

    - #### close

          public void close()

      Specified by:
        `close` in interface `ProviderFactory<JpaConnectionProvider>`

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `ProviderFactory<JpaConnectionProvider>`

    - #### init

          public void init(Config.Scope config)

      Specified by:
        `init` in interface `ProviderFactory<JpaConnectionProvider>`

Copyright © 2015. All Rights Reserved.