public class BeanFactoryTransactionAttributeSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor
TransactionAttributeSource
, used to include
a transaction advice bean for methods that are transactional.AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(java.lang.String)
,
TransactionInterceptor
,
TransactionAttributeSourceAdvisor
,
Serialized FormEMPTY_ADVICE
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
BeanFactoryTransactionAttributeSourceAdvisor() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor.
|
void |
setClassFilter(ClassFilter classFilter)
Set the
ClassFilter to use for this pointcut. |
void |
setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource)
Set the transaction attribute source which is used to find transaction
attributes.
|
getAdvice, getAdviceBeanName, setAdvice, setAdviceBeanName, setBeanFactory, toString
equals, getOrder, hashCode, isPerInstance, setOrder
public BeanFactoryTransactionAttributeSourceAdvisor()
public void setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource)
public void setClassFilter(ClassFilter classFilter)
ClassFilter
to use for this pointcut.
Default is ClassFilter.TRUE
.public Pointcut getPointcut()
PointcutAdvisor