Package com.atlassian.bamboo.spring
Class MockTransactionOperations
java.lang.Object
com.atlassian.bamboo.spring.MockTransactionOperations
- All Implemented Interfaces:
org.springframework.transaction.support.TransactionOperations
public class MockTransactionOperations
extends Object
implements org.springframework.transaction.support.TransactionOperations
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.springframework.transaction.support.TransactionOperations
-
Method Summary
Modifier and TypeMethodDescription<T> T
execute
(org.springframework.transaction.support.TransactionCallback<T> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.transaction.support.TransactionOperations
executeWithoutResult
-
Field Details
-
INSTANCE
public static org.springframework.transaction.support.TransactionOperations INSTANCE
-
-
Method Details
-
execute
public <T> T execute(org.springframework.transaction.support.TransactionCallback<T> action) throws org.springframework.transaction.TransactionException - Specified by:
execute
in interfaceorg.springframework.transaction.support.TransactionOperations
- Throws:
org.springframework.transaction.TransactionException
-