org.apache.tapestry5.jpa

## Interface JpaTransactionAdvisor

- All Known Implementing Classes:
    JpaTransactionAdvisorImpl

      public interface JpaTransactionAdvisor

  Service that can create an interceptor that wraps around a service implementation. After invoking service methods marked by `CommitAfter` the current transaction is committed. Declared exceptions will also commit the transaction; runtime exceptions will roll back the transaction.
  Since:
    5.3

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTransactionCommitAdvice(MethodAdviceReceiver receiver)` Identifies any methods with the `CommitAfter` annotation and applies the transaction logic to those methods.

- - ### Method Detail

    - #### addTransactionCommitAdvice

          void addTransactionCommitAdvice(MethodAdviceReceiver receiver)

      Identifies any methods with the `CommitAfter` annotation and applies the transaction logic to those methods.
      Parameters:
        `receiver` - advice receiver

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.