@ConfigurationProperties(value="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.
|
Integer |
getDefaultTimeout() |
Boolean |
getRollbackOnCommitFailure() |
void |
setDefaultTimeout(Integer defaultTimeout) |
void |
setRollbackOnCommitFailure(Boolean rollbackOnCommitFailure) |
public Integer getDefaultTimeout()
public void setDefaultTimeout(Integer 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 © 2017 Pivotal Software, Inc.. All rights reserved.