org.apache.tapestry5.jpa

## Interface EntityTransactionManager

- All Known Implementing Classes:
    EntityTransactionManagerImpl

      public interface EntityTransactionManager

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `EntityTransactionManager.VoidInvokable`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `invokeAfterCommit(String unitName, Invokable<Boolean> invokable)`
    `void` | `invokeBeforeCommit(String unitName, Invokable<Boolean> invokable)`
    `<T> T` | `invokeInTransaction(String unitName, Invokable<T> invokable)`
    `void` | `runInTransaction(String unitName, Runnable runnable)`

- - ### Method Detail

    - #### runInTransaction

          void runInTransaction(String unitName,
                                Runnable runnable)

    - #### invokeInTransaction

          <T> T invokeInTransaction(String unitName,
                                    Invokable<T> invokable)

    - #### invokeBeforeCommit

          void invokeBeforeCommit(String unitName,
                                  Invokable<Boolean> invokable)

    - #### invokeAfterCommit

          void invokeAfterCommit(String unitName,
                                 Invokable<Boolean> invokable)

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.