@ConfigurationProperties(prefix="spring.transaction") public class TransactionProperties extends Object implements PlatformTransactionManagerCustomizer<org.springframework.transaction.support.AbstractPlatformTransactionManager>
AbstractPlatformTransactionManager
.Constructor and Description |
---|
TransactionProperties() |
Modifier and Type | Method and Description |
---|---|
void |
customize(org.springframework.transaction.support.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(org.springframework.transaction.support.AbstractPlatformTransactionManager transactionManager)
PlatformTransactionManagerCustomizer
customize
in interface PlatformTransactionManagerCustomizer<org.springframework.transaction.support.AbstractPlatformTransactionManager>
transactionManager
- the transaction manager to customizeCopyright © 2018 Pivotal Software, Inc.. All rights reserved.