Class JpaTransactionAdvisorImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.JpaTransactionAdvisorImpl
-
- All Implemented Interfaces:
JpaTransactionAdvisor
public class JpaTransactionAdvisorImpl extends java.lang.Object implements JpaTransactionAdvisor
-
-
Constructor Summary
Constructors Constructor Description JpaTransactionAdvisorImpl(EntityManagerManager manager, EntityTransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTransactionCommitAdvice(MethodAdviceReceiver receiver)
Identifies any methods with theCommitAfter
annotation and applies the transaction logic to those methods.
-
-
-
Constructor Detail
-
JpaTransactionAdvisorImpl
public JpaTransactionAdvisorImpl(EntityManagerManager manager, EntityTransactionManager transactionManager)
-
-
Method Detail
-
addTransactionCommitAdvice
public void addTransactionCommitAdvice(MethodAdviceReceiver receiver)
Description copied from interface:JpaTransactionAdvisor
Identifies any methods with theCommitAfter
annotation and applies the transaction logic to those methods.- Specified by:
addTransactionCommitAdvice
in interfaceJpaTransactionAdvisor
- Parameters:
receiver
- advice receiver
-
-