public class

TransactionConfigurationAttributes

extends Object
java.lang.Object
   ↳ org.springframework.test.context.transaction.TransactionConfigurationAttributes

Class Overview

Configuration attributes for configuring transactional tests.

Summary

Public Constructors
TransactionConfigurationAttributes(String transactionManagerName, boolean defaultRollback)
Construct a new TransactionConfigurationAttributes instance from the supplied arguments.
Public Methods
final String getTransactionManagerName()
Get the bean name of the PlatformTransactionManager that is to be used to drive transactions.
final boolean isDefaultRollback()
Whether or not transactions should be rolled back by default.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TransactionConfigurationAttributes (String transactionManagerName, boolean defaultRollback)

Construct a new TransactionConfigurationAttributes instance from the supplied arguments.

Parameters
transactionManagerName the bean name of the PlatformTransactionManager that is to be used to drive transactions
defaultRollback whether or not transactions should be rolled back by default

Public Methods

public final String getTransactionManagerName ()

Get the bean name of the PlatformTransactionManager that is to be used to drive transactions.

public final boolean isDefaultRollback ()

Whether or not transactions should be rolled back by default.

Returns
  • the default rollback flag

public String toString ()