|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.database.LuteceTransactionManager
public class LuteceTransactionManager
Lutece transaction manager. This TM use Lutece's specific pool transaction
manager with the class 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 Summary | |
|---|---|
LuteceTransactionManager()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuteceTransactionManager()
| Method Detail |
|---|
public String getPluginName()
public void setPluginName(String strPluginName)
strPluginName - the plugin name
public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition definition)
throws org.springframework.transaction.TransactionException
getTransaction in interface org.springframework.transaction.PlatformTransactionManagerorg.springframework.transaction.TransactionException
public void commit(org.springframework.transaction.TransactionStatus status)
throws org.springframework.transaction.TransactionException
commit in interface org.springframework.transaction.PlatformTransactionManagerorg.springframework.transaction.TransactionException
public void rollback(org.springframework.transaction.TransactionStatus status)
throws org.springframework.transaction.TransactionException
rollback in interface org.springframework.transaction.PlatformTransactionManagerorg.springframework.transaction.TransactionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||