public class ChainedTransactionManager extends Object implements org.springframework.transaction.PlatformTransactionManager
Constructor and Description |
---|
ChainedTransactionManager()
Builds a new ChainedTransactionManager
|
Modifier and Type | Method and Description |
---|---|
void |
commit(org.springframework.transaction.TransactionStatus status) |
org.springframework.transaction.TransactionStatus |
getTransaction(org.springframework.transaction.TransactionDefinition definition)
Begin a transaction for all transaction managers
|
List<org.springframework.transaction.PlatformTransactionManager> |
getTransactionManagers()
"Getter method" pour la variable
_transactionManagers |
void |
rollback(org.springframework.transaction.TransactionStatus status) |
void |
setTransactionManagers(List<org.springframework.transaction.PlatformTransactionManager> managers)
"Setter method" pour la variable
_transactionManagers |
public ChainedTransactionManager()
public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition definition)
getTransaction
in interface org.springframework.transaction.PlatformTransactionManager
public void commit(org.springframework.transaction.TransactionStatus status)
commit
in interface org.springframework.transaction.PlatformTransactionManager
public void rollback(org.springframework.transaction.TransactionStatus status)
rollback
in interface org.springframework.transaction.PlatformTransactionManager
public List<org.springframework.transaction.PlatformTransactionManager> getTransactionManagers()
_transactionManagers
_transactionManagers
public void setTransactionManagers(List<org.springframework.transaction.PlatformTransactionManager> managers)
_transactionManagers
managers
- La nouvelle valeur de la variable _transactionManagers
Copyright © 2020 City of Paris. All rights reserved.