@Configuration public abstract class AbstractTransactionManagementConfiguration extends Object implements ImportAware
@Configuration
class providing common structure for enabling
Spring's annotation-driven transaction management capability.EnableTransactionManagement
Modifier and Type | Field and Description |
---|---|
protected AnnotationAttributes |
enableTx |
protected PlatformTransactionManager |
txManager
Default transaction manager.
|
Constructor and Description |
---|
AbstractTransactionManagementConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
protected AnnotationAttributes enableTx
protected PlatformTransactionManager txManager
public AbstractTransactionManagementConfiguration()
public void setImportMetadata(AnnotationMetadata importMetadata)
ImportAware
Configuration
class.setImportMetadata
in interface ImportAware