org.springframework.transaction.interceptor.TransactionAttribute |
Known Indirect Subclasses
|
Class Overview
This interface adds a rollbackOn
specification to TransactionDefinition
.
As custom rollbackOn
is only possible with AOP, this class resides
in the AOP transaction package.
Summary
Public Methods |
abstract
String
|
getQualifier()
Return a qualifier value associated with this transaction attribute.
|
abstract
boolean
|
rollbackOn(Throwable ex)
Should we roll back on the given exception?
|
Public Methods
public
abstract
String
getQualifier
()
Return a qualifier value associated with this transaction attribute.
This may be used for choosing a corresponding transaction manager
to process this specific transaction.
public
abstract
boolean
rollbackOn
(Throwable ex)
Should we roll back on the given exception?
Parameters
ex
| the exception to evaluate |
Returns
- whether to perform a rollback or not