private static class Ejb3TransactionAnnotationParser.Ejb3TransactionAttribute extends DefaultTransactionAttribute
PREFIX_ISOLATION, PREFIX_PROPAGATION, PREFIX_TIMEOUT, READ_ONLY_MARKERISOLATION_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 |
|---|
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, setQualifierequals, getDefinitionDescription, getIsolationLevel, getName, getPropagationBehavior, getTimeout, hashCode, isReadOnly, setIsolationLevel, setIsolationLevelName, setName, setPropagationBehavior, setPropagationBehaviorName, setReadOnly, setTimeout, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIsolationLevel, getName, getPropagationBehavior, getTimeout, isReadOnlypublic Ejb3TransactionAttribute(TransactionAttributeType type)
public boolean rollbackOn(java.lang.Throwable ex)
DefaultTransactionAttributeThis is consistent with TransactionTemplate's default behavior.
rollbackOn in interface TransactionAttributerollbackOn in class DefaultTransactionAttributeex - the exception to evaluate