Package | Description |
---|---|
org.springframework.test.context.transaction |
Transactional support classes for the Spring TestContext Framework.
|
org.springframework.transaction.annotation |
Spring's support for annotation-based transaction demarcation.
|
org.springframework.transaction.interceptor |
AOP-based solution for declarative transaction demarcation.
|
Modifier and Type | Field and Description |
---|---|
protected TransactionAttributeSource |
TransactionalTestExecutionListener.attributeSource |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationTransactionAttributeSource
Implementation of the
TransactionAttributeSource
interface for working with transaction metadata in JDK 1.5+ annotation format. |
Modifier and Type | Method and Description |
---|---|
TransactionAttributeSource |
ProxyTransactionManagementConfiguration.transactionAttributeSource() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFallbackTransactionAttributeSource
Abstract implementation of
TransactionAttributeSource that caches
attributes for methods and implements a fallback policy: 1. |
class |
CompositeTransactionAttributeSource
Composite
TransactionAttributeSource implementation that iterates
over a given array of TransactionAttributeSource instances. |
class |
MatchAlwaysTransactionAttributeSource
Very simple implementation of TransactionAttributeSource which will always return
the same TransactionAttribute for all methods fed to it.
|
class |
MethodMapTransactionAttributeSource
Simple
TransactionAttributeSource implementation that
allows attributes to be stored per method in a Map . |
class |
NameMatchTransactionAttributeSource
Simple
TransactionAttributeSource implementation that
allows attributes to be matched by registered name. |
Modifier and Type | Method and Description |
---|---|
TransactionAttributeSource |
TransactionAspectSupport.getTransactionAttributeSource()
Return the transaction attribute source.
|
TransactionAttributeSource[] |
CompositeTransactionAttributeSource.getTransactionAttributeSources()
Return the TransactionAttributeSource instances that this
CompositeTransactionAttributeSource combines.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionAspectSupport.setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource)
Set the transaction attribute source which is used to find transaction
attributes.
|
void |
TransactionProxyFactoryBean.setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource)
Set the transaction attribute source which is used to find transaction
attributes.
|
void |
BeanFactoryTransactionAttributeSourceAdvisor.setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource)
Set the transaction attribute source which is used to find transaction
attributes.
|
void |
TransactionAspectSupport.setTransactionAttributeSources(TransactionAttributeSource... transactionAttributeSources)
Set multiple transaction attribute sources which are used to find transaction
attributes.
|
Constructor and Description |
---|
CompositeTransactionAttributeSource(TransactionAttributeSource[] transactionAttributeSources)
Create a new CompositeTransactionAttributeSource for the given sources.
|
TransactionInterceptor(PlatformTransactionManager ptm,
TransactionAttributeSource tas)
Create a new TransactionInterceptor.
|