public class TransactionConfigurationAttributes extends Object
TransactionConfiguration
Constructor and Description |
---|
TransactionConfigurationAttributes(String transactionManagerName,
boolean defaultRollback)
Construct a new TransactionConfigurationAttributes instance from the
supplied arguments.
|
Modifier and Type | Method and Description |
---|---|
String |
getTransactionManagerName()
Get the bean name of the
PlatformTransactionManager that is to
be used to drive transactions. |
boolean |
isDefaultRollback()
Whether or not transactions should be rolled back by default.
|
String |
toString() |
public TransactionConfigurationAttributes(String transactionManagerName, boolean defaultRollback)
transactionManagerName
- the bean name of the
PlatformTransactionManager
that is to be used to drive transactionsdefaultRollback
- whether or not transactions should be rolled back by defaultpublic final String getTransactionManagerName()
PlatformTransactionManager
that is to
be used to drive transactions.public final boolean isDefaultRollback()