- java.lang.Object
-
- AbstractPointcutAdvisor
-
- org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
-
public class TransactionAttributeSourceAdvisor extends AbstractPointcutAdvisor
Advisor driven by aTransactionAttributeSource
, used to include aTransactionInterceptor
only for methods that are transactional.Because the AOP framework caches advice calculations, this is normally faster than just letting the TransactionInterceptor run and find out itself that it has no work to do.