org.keycloak.connections.jpa

## Class DefaultJpaConnectionProvider

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

- All Implemented Interfaces:
    JpaConnectionProvider, Provider

      public class DefaultJpaConnectionProvider
      extends Object
      implements JpaConnectionProvider

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultJpaConnectionProvider(javax.persistence.EntityManager em)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `javax.persistence.EntityManager` | `getEntityManager()`

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

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

- - ### Constructor Detail

    - #### DefaultJpaConnectionProvider

          public DefaultJpaConnectionProvider(javax.persistence.EntityManager em)

  - ### Method Detail

    - #### getEntityManager

          public javax.persistence.EntityManager getEntityManager()

      Specified by:
        `getEntityManager` in interface `JpaConnectionProvider`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2015. All Rights Reserved.