Class NoopTransactionManager
- java.lang.Object
-
- com.atlassian.confluence.spring.transaction.NoopTransactionManager
-
- All Implemented Interfaces:
org.springframework.transaction.PlatformTransactionManager
,org.springframework.transaction.TransactionManager
public class NoopTransactionManager extends Object implements org.springframework.transaction.PlatformTransactionManager
- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description NoopTransactionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit(org.springframework.transaction.TransactionStatus status)
org.springframework.transaction.TransactionStatus
getTransaction(org.springframework.transaction.TransactionDefinition definition)
void
rollback(org.springframework.transaction.TransactionStatus status)
-
-
-
Method Detail
-
getTransaction
public org.springframework.transaction.TransactionStatus getTransaction(org.springframework.transaction.TransactionDefinition definition) throws org.springframework.transaction.TransactionException
- Specified by:
getTransaction
in interfaceorg.springframework.transaction.PlatformTransactionManager
- Throws:
org.springframework.transaction.TransactionException
-
commit
public void commit(org.springframework.transaction.TransactionStatus status) throws org.springframework.transaction.TransactionException
- Specified by:
commit
in interfaceorg.springframework.transaction.PlatformTransactionManager
- Throws:
org.springframework.transaction.TransactionException
-
rollback
public void rollback(org.springframework.transaction.TransactionStatus status) throws org.springframework.transaction.TransactionException
- Specified by:
rollback
in interfaceorg.springframework.transaction.PlatformTransactionManager
- Throws:
org.springframework.transaction.TransactionException
-
-