private static class Ejb3TransactionAnnotationParser.Ejb3TransactionAttribute extends DefaultTransactionAttribute
PREFIX_ISOLATION, PREFIX_PROPAGATION, PREFIX_TIMEOUT, READ_ONLY_MARKER
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
Constructor and Description |
---|
Ejb3TransactionAnnotationParser.Ejb3TransactionAttribute(TransactionAttributeType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
rollbackOn(java.lang.Throwable ex)
The default behavior is as with EJB: rollback on unchecked exception.
|
getAttributeDescription, getQualifier, setQualifier
equals, getDefinitionDescription, getIsolationLevel, getName, getPropagationBehavior, getTimeout, hashCode, isReadOnly, setIsolationLevel, setIsolationLevelName, setName, setPropagationBehavior, setPropagationBehaviorName, setReadOnly, setTimeout, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIsolationLevel, getName, getPropagationBehavior, getTimeout, isReadOnly
public Ejb3TransactionAnnotationParser.Ejb3TransactionAttribute(TransactionAttributeType type)
public boolean rollbackOn(java.lang.Throwable ex)
DefaultTransactionAttribute
This is consistent with TransactionTemplate's default behavior.
rollbackOn
in interface TransactionAttribute
rollbackOn
in class DefaultTransactionAttribute
ex
- the exception to evaluate