|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionAttribute
This interface adds a rollbackOn
specification to TransactionDefinition.
As custom rollbackOn
is only possible with AOP, this class resides
in the AOP transaction package.
DefaultTransactionAttribute
,
RuleBasedTransactionAttribute
Field Summary |
---|
Fields inherited from interface org.springframework.transaction.TransactionDefinition |
---|
ISOLATION_DEFAULT, ISOLATION_READ_COMMITTED, ISOLATION_READ_UNCOMMITTED, ISOLATION_REPEATABLE_READ, ISOLATION_SERIALIZABLE, PROPAGATION_MANDATORY, PROPAGATION_NESTED, PROPAGATION_NEVER, PROPAGATION_NOT_SUPPORTED, PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, PROPAGATION_SUPPORTS, TIMEOUT_DEFAULT |
Method Summary | |
---|---|
boolean |
rollbackOn(Throwable ex)
Should we roll back on the given exception? |
Methods inherited from interface org.springframework.transaction.TransactionDefinition |
---|
getIsolationLevel, getName, getPropagationBehavior, getTimeout, isReadOnly |
Method Detail |
---|
boolean rollbackOn(Throwable ex)
ex
- the exception to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |