@ConfigurationProperties(prefix="spring.transaction") public class TransactionProperties extends Object implements PlatformTransactionManagerCustomizer<AbstractPlatformTransactionManager>
AbstractPlatformTransactionManager
.Constructor and Description |
---|
TransactionProperties() |
Modifier and Type | Method and Description |
---|---|
void |
customize(AbstractPlatformTransactionManager transactionManager)
Customize the given transaction manager.
|
Duration |
getDefaultTimeout() |
Boolean |
getRollbackOnCommitFailure() |
void |
setDefaultTimeout(Duration defaultTimeout) |
void |
setRollbackOnCommitFailure(Boolean rollbackOnCommitFailure) |
public Duration getDefaultTimeout()
public void setDefaultTimeout(Duration defaultTimeout)
public Boolean getRollbackOnCommitFailure()
public void setRollbackOnCommitFailure(Boolean rollbackOnCommitFailure)
public void customize(AbstractPlatformTransactionManager transactionManager)
PlatformTransactionManagerCustomizer
customize
in interface PlatformTransactionManagerCustomizer<AbstractPlatformTransactionManager>
transactionManager
- the transaction manager to customizeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.