public class LuteceTransactionManager extends Object implements org.springframework.transaction.PlatformTransactionManager
TransactionManager
. It allow plugins to use multi
plugin transactions, and nested transactions. Note that nested transactions does not create savepoints : if a nested transaction is roll backed, then the
whole transaction is roll backed.Constructor and Description |
---|
LuteceTransactionManager() |
Modifier and Type | Method and Description |
---|---|
void |
commit(org.springframework.transaction.TransactionStatus status) |
String |
getPluginName()
Gets the plugin name
|
org.springframework.transaction.TransactionStatus |
getTransaction(org.springframework.transaction.TransactionDefinition definition) |
void |
rollback(org.springframework.transaction.TransactionStatus status) |
void |
setPluginName(String strPluginName)
Sets the plugin name
|
public String getPluginName()
public void setPluginName(String strPluginName)
strPluginName
- the plugin namepublic 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
Copyright © 2020 City of Paris. All rights reserved.