public class TransactionConfigurationAttributes
extends java.lang.Object
TransactionConfiguration
Constructor and Description |
---|
TransactionConfigurationAttributes(java.lang.String transactionManagerName,
boolean defaultRollback)
Construct a new TransactionConfigurationAttributes instance from the
supplied arguments.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.String |
toString() |
public TransactionConfigurationAttributes(java.lang.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 java.lang.String getTransactionManagerName()
PlatformTransactionManager
that is to
be used to drive transactions.public final boolean isDefaultRollback()
public java.lang.String toString()
toString
in class java.lang.Object