Class BeanFactoryTransactionAttributeSourceAdvisor
java.lang.Object
org.springframework.aop.support.AbstractPointcutAdvisor
org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
- All Implemented Interfaces:
Serializable
,Advisor
,PointcutAdvisor
,Aware
,BeanFactoryAware
,Ordered
public class BeanFactoryTransactionAttributeSourceAdvisor
extends AbstractBeanFactoryPointcutAdvisor
Advisor driven by a
TransactionAttributeSource
, used to include
a transaction advice bean for methods that are transactional.- Since:
- 2.5.5
- Author:
- Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.aop.Advisor
EMPTY_ADVICE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the Pointcut that drives this advisor.void
setClassFilter
(ClassFilter classFilter) Set theClassFilter
to use for this pointcut.void
setTransactionAttributeSource
(TransactionAttributeSource transactionAttributeSource) Set the transaction attribute source which is used to find transaction attributes.Methods inherited from class org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString
Methods inherited from class org.springframework.aop.support.AbstractPointcutAdvisor
equals, getOrder, hashCode, setOrder
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.aop.Advisor
isPerInstance
-
Constructor Details
-
BeanFactoryTransactionAttributeSourceAdvisor
public BeanFactoryTransactionAttributeSourceAdvisor()
-
-
Method Details
-
setTransactionAttributeSource
Set the transaction attribute source which is used to find transaction attributes. This should usually be identical to the source reference set on the transaction interceptor itself. -
setClassFilter
Set theClassFilter
to use for this pointcut. Default isClassFilter.TRUE
. -
getPointcut
Description copied from interface:PointcutAdvisor
Get the Pointcut that drives this advisor.
-