java.lang.Object | ||
↳ | org.springframework.aop.support.AbstractPointcutAdvisor | |
↳ | org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor |
Advisor driven by a TransactionAttributeSource
, used to include
a TransactionInterceptor
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.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.Ordered
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new TransactionAttributeSourceAdvisor.
| |||||||||||
Create a new TransactionAttributeSourceAdvisor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the
ClassFilter to use for this pointcut. | |||||||||||
Set the transaction interceptor to use for this advisor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.support.AbstractPointcutAdvisor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Advisor
| |||||||||||
From interface
org.springframework.aop.PointcutAdvisor
| |||||||||||
From interface
org.springframework.core.Ordered
|
Create a new TransactionAttributeSourceAdvisor.
Create a new TransactionAttributeSourceAdvisor.
interceptor | the transaction interceptor to use for this advisor |
---|
Set the ClassFilter
to use for this pointcut.
Default is TRUE
.
Set the transaction interceptor to use for this advisor.