com.holonplatform.jpa.spring

## Interface SpringEntityManagerLifecycleHandler

- All Superinterfaces:
    JpaDatastore.EntityManagerFinalizer, JpaDatastore.EntityManagerInitializer, JpaDatastore.EntityManagerLifecycleHandler
  All Known Implementing Classes:
    DefaultSpringEntityManagerLifecycleHandler

      public interface SpringEntityManagerLifecycleHandler
      extends JpaDatastore.EntityManagerLifecycleHandler

  An `JpaDatastore.EntityManagerLifecycleHandler` for Spring integration, which provides a Spring managed `EntityManager` proxy as `EntityManager` instance.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SpringEntityManagerLifecycleHandler` | `create()` Create a default `SpringEntityManagerLifecycleHandler` instance.

    - ### Methods inherited from interface com.holonplatform.datastore.jpa.JpaDatastore.EntityManagerInitializer

      `createDefault, getEntityManager`

    - ### Methods inherited from interface com.holonplatform.datastore.jpa.JpaDatastore.EntityManagerFinalizer

      `createDefault, finalizeEntityManager`

- - ### Method Detail

    - #### create

          static SpringEntityManagerLifecycleHandler create()

      Create a default `SpringEntityManagerLifecycleHandler` instance.
      Returns:
        A default `SpringEntityManagerLifecycleHandler` instance

Copyright © 2019 The Holon Platform. All rights reserved.