Package 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 byCommitAfterthe 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 Description voidaddTransactionCommitAdvice(MethodAdviceReceiver receiver)Identifies any methods with theCommitAfterannotation and applies the transaction logic to those methods. 
 - 
 
- 
- 
Method Detail
- 
addTransactionCommitAdvice
void addTransactionCommitAdvice(MethodAdviceReceiver receiver)
Identifies any methods with theCommitAfterannotation and applies the transaction logic to those methods.- Parameters:
 receiver- advice receiver
 
 - 
 
 -