@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.
|
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(org.springframework.transaction.support.AbstractPlatformTransactionManager transactionManager)
PlatformTransactionManagerCustomizer
customize
in interface PlatformTransactionManagerCustomizer<org.springframework.transaction.support.AbstractPlatformTransactionManager>
transactionManager
- the transaction manager to customizeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.