Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.